You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Andrew Or (JIRA)" <ji...@apache.org> on 2015/04/15 03:52:58 UTC

[jira] [Closed] (SPARK-6890) Local cluster mode is broken with SPARK_PREPEND_CLASSES

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

Andrew Or closed SPARK-6890.
----------------------------
       Resolution: Fixed
    Fix Version/s: 1.4.0

> Local cluster mode is broken with SPARK_PREPEND_CLASSES
> -------------------------------------------------------
>
>                 Key: SPARK-6890
>                 URL: https://issues.apache.org/jira/browse/SPARK-6890
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 1.4.0
>            Reporter: Davies Liu
>            Assignee: Marcelo Vanzin
>            Priority: Critical
>             Fix For: 1.4.0
>
>
> In master, local cluster mode is broken. If I run `bin/spark-submit --master local-cluster[2,1,512]`, my executors keep failing with class not found exception. It appears that the assembly jar is not added to the executors' class paths. I suspect that this is caused by https://github.com/apache/spark/pull/5085.
> {code}
> Exception in thread "main" java.lang.NoClassDefFoundError: scala/Option
> 	at java.lang.Class.getDeclaredMethods0(Native Method)
> 	at java.lang.Class.privateGetDeclaredMethods(Class.java:2531)
> 	at java.lang.Class.getMethod0(Class.java:2774)
> 	at java.lang.Class.getMethod(Class.java:1663)
> 	at sun.launcher.LauncherHelper.getMainMethod(LauncherHelper.java:494)
> 	at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:486)
> Caused by: java.lang.ClassNotFoundException: scala.Option
> 	at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
> 	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
> {code}



--
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