[ 
https://issues.apache.org/jira/browse/SPARK-8417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15293402#comment-15293402
 ] 

Jonathan Crosmer commented on SPARK-8417:
-----------------------------------------

I ran into this exact problem with Spark 1.6.0 and 1.6.1 on Mac OS X El Capitan 
10.11.4.  Bash version is:
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin15)

>From this link I discovered a workaround: 
>http://onetipperday.sterding.com/2013/12/syntax-error-near-unexpected-token.html

Run this command before launching Spark, and all is well:
{{set +o posix}}




> spark-class has illegal statement
> ---------------------------------
>
>                 Key: SPARK-8417
>                 URL: https://issues.apache.org/jira/browse/SPARK-8417
>             Project: Spark
>          Issue Type: Bug
>          Components: Deploy
>    Affects Versions: 1.4.0
>            Reporter: jweinste
>
> spark-class
> There is an illegal statement.
> done < <("$RUNNER" -cp "$LAUNCH_CLASSPATH" org.apache.spark.launcher.Main 
> "$@")
> Complaint is
> ./bin/spark-class: line 100: syntax error near unexpected token `<'



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to