[
https://issues.apache.org/jira/browse/SPARK-8417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14593163#comment-14593163
]
Sean Owen commented on SPARK-8417:
----------------------------------
It's this bit:
{code}
# The launcher library will print arguments separated by a NULL character, to
allow arguments with
# characters that would be otherwise interpreted by the shell. Read that in a
while loop, populating
# an array that will be used to exec the final command.
CMD=()
while IFS= read -d '' -r ARG; do
CMD+=("$ARG")
done < <("$RUNNER" -cp "$LAUNCH_CLASSPATH" org.apache.spark.launcher.Main "$@")
exec "${CMD[@]}"
{code}
https://github.com/apache/spark/blob/master/bin/spark-class#L76
> 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]