spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Viacheslav Saevskiy (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-15218) Error: Could not find or load main class org.apache.spark.launcher.Main when run from a directory containing colon ':'
Date Tue, 10 May 2016 09:22:12 GMT

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

Viacheslav Saevskiy commented on SPARK-15218:
---------------------------------------------

Unfortunately escaping ':' in classpath not working. 
But I'm thinking about mimic mesos behavior in spark-class. By replacing ':' with '_' and
making symlink on that folder. I can make PR if you like and appreciate your thoughts about
it.

> 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


Mime
View raw message