问题描述
- spark: syntax error near unexpected token `"$ARG"'
-
root 用户下,run-example SparkPi,出现permission denied,授权访问后,再次运行出现如下错误,改用最新的spark版本1.6.1,也是出现同样的问题,请问该如何解决该问题?/opt/spark-lecture/spark-1.5.2-bin-hadoop2.6/bin/spark-class: line 76: syntax error near unexpected token
"$ARG"'
CMD+=("$ARG")'
/opt/spark-lecture/spark-1.5.2-bin-hadoop2.6/bin/spark-class: line 76:
解决方案
syntax error near unexpected token elif'</a><br/><a target='_blank' rel='nofollow' href='http://blog.csdn.net/Aquester/article/details/23339899'>libtool: syntax error near unexpected token
]*
syntax error near unexpected token `then'
解决方案二:
已经找到原因了,可能是spark版本的问题,换成了spark-1.2.1-bin-hadoop2.4 这个版本,上述错误问题已经没有了~~
时间: 2024-09-20 03:05:42