我想传递一个在字符串中包含单引号的配置单元 arg。这会导致 EMR 作业失败并出现以下错误:
sh: -c: line 0: unexpected EOF while looking for matching `''
sh: -c: line 1: syntax error: unexpected end of file
Command exiting with ret '255'
所需变量:
-hiveconf "myvar=Today's a great day for a test!"
有任何想法吗?谢谢。