spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Owen (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SPARK-1604) Couldn't run spark-submit with yarn cluster mode when built with assemble-deps
Date Thu, 26 Feb 2015 01:20:06 GMT

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

Sean Owen resolved SPARK-1604.
------------------------------
    Resolution: Won't Fix

This may be obsolete anyway, but sounds like it only occurred with an assembly built in a
certain way with SBT, but published assemblies used to run examples would be built by Maven
now.

> Couldn't run spark-submit with yarn cluster mode when built with assemble-deps
> ------------------------------------------------------------------------------
>
>                 Key: SPARK-1604
>                 URL: https://issues.apache.org/jira/browse/SPARK-1604
>             Project: Spark
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 1.0.0
>            Reporter: Kan Zhang
>
> {code}
> SPARK_JAR=./assembly/target/scala-2.10/spark-assembly-1.0.0-SNAPSHOT-hadoop2.3.0-deps.jar
./bin/spark-submit ./examples/target/scala-2.10/spark-examples_2.10-1.0.0-SNAPSHOT.jar --master
yarn --deploy-mode cluster --class org.apache.spark.examples.sql.JavaSparkSQL 
> Exception in thread "main" java.lang.ClassNotFoundException: org.apache.spark.deploy.yarn.Client
> 	at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
> 	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Class.java:270)
> 	at org.apache.spark.deploy.SparkSubmit$.launch(SparkSubmit.scala:234)
> 	at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:47)
> 	at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
> {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