spark-issues mailing list archives

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

     [ https://issues.apache.org/jira/browse/SPARK-15218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Adam Cecile updated SPARK-15218:
--------------------------------
    Description: 
{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.


  was:
{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.



> 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