[ https://issues.apache.org/jira/browse/SPARK-15218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15277952#comment-15277952
]
Adam Cecile commented on SPARK-15218:
-------------------------------------
Hehe, that's dirty :D But well, if it's able to workaround the issue...
Be sure to set /bin/bash shebang because it's not portable sh code at all.
Regards, Adam.
> Error: Could not find or load main class org.apache.spark.launcher.Main when run from
a directory containing colon ':'
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: SPARK-15218
> URL: https://issues.apache.org/jira/browse/SPARK-15218
> Project: Spark
> Issue Type: Bug
> Components: Spark Core, Spark Shell, Spark Submit
> Affects Versions: 1.6.1
> Reporter: Adam Cecile
> Labels: mesos
>
> {noformat}
> mkdir /tmp/qwe:rtz
> cd /tmp/qwe:rtz
> wget http://www-eu.apache.org/dist/spark/spark-1.6.1/spark-1.6.1-bin-without-hadoop.tgz
> tar xvzf spark-1.6.1-bin-without-hadoop.tgz
> cd spark-1.6.1-bin-without-hadoop/
> bin/spark-submit
> {noformat}
> Returns "Error: Could not find or load main class org.apache.spark.launcher.Main".
> That would not be such an issue if Mesos executor did not have colon in the generated
paths. It means withtout hacking (define relative SPARK_HOME path by myself) there's no way
to run a spark-job insode a mesos job container...
> Best regards, Adam.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org
|