spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Or (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SPARK-6890) Local cluster mode is broken with SPARK_PREPEND_CLASSES
Date Tue, 14 Apr 2015 17:51:12 GMT

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

Andrew Or updated SPARK-6890:
-----------------------------
    Summary: Local cluster mode is broken with SPARK_PREPEND_CLASSES  (was: Local cluster
mode is broken on OSX)

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


Mime
View raw message