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] [Created] (SPARK-1570) Class loading issue when using Spark SQL Java API
Date Tue, 22 Apr 2014 19:36:14 GMT
Kan Zhang created SPARK-1570:
--------------------------------

             Summary: Class loading issue when using Spark SQL Java API
                 Key: SPARK-1570
                 URL: https://issues.apache.org/jira/browse/SPARK-1570
             Project: Spark
          Issue Type: Bug
          Components: Java API, SQL
    Affects Versions: 1.0.0
            Reporter: Kan Zhang
            Assignee: Kan Zhang
            Priority: Blocker
             Fix For: 1.0.0


ClassNotFoundException in Executor when running JavaSparkSQL example using spark-submit.

14/04/22 12:26:20 ERROR Executor: Exception in task ID 0
java.lang.ClassNotFoundException: org.apache.spark.examples.sql.JavaSparkSQL.Person
	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 sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:190)
	at org.apache.spark.sql.api.java.JavaSQLContext$$anonfun$1.apply(JavaSQLContext.scala:90)
	at org.apache.spark.sql.api.java.JavaSQLContext$$anonfun$1.apply(JavaSQLContext.scala:88)
	at org.apache.spark.rdd.RDD$$anonfun$3.apply(RDD.scala:512)
	at org.apache.spark.rdd.RDD$$anonfun$3.apply(RDD.scala:512)
	at org.apache.spark.rdd.MapPartitionsRDD.compute(MapPartitionsRDD.scala:35)




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

Mime
View raw message