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

Viacheslav Saevskiy edited comment on SPARK-15218 at 5/10/16 11:34 AM:
-----------------------------------------------------------------------

It's a bash script as states at 1-st line.
{code}
#!/usr/bin/env bash
{code}

Agree it is dirty but it should work.


was (Author: sayevsky):
It's a bash script as states at 1-st line.
```
#!/usr/bin/env bash
```

Agree it is dirty but it should work.

> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to