spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kan Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SPARK-1604) YARN cluster mode broken
Date Thu, 24 Apr 2014 05:39:15 GMT

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

Kan Zhang updated SPARK-1604:
-----------------------------

    Affects Version/s: 1.0.0

> YARN cluster mode broken
> ------------------------
>
>                 Key: SPARK-1604
>                 URL: https://issues.apache.org/jira/browse/SPARK-1604
>             Project: Spark
>          Issue Type: Bug
>          Components: YARN
>    Affects Versions: 1.0.0
>            Reporter: Kan Zhang
>
> 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)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message