spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sivarani <whitefeathers...@gmail.com>
Subject Re: Submiting Spark application through code
Date Thu, 27 Nov 2014 05:04:10 GMT
I am trying to submit spark streaming program, when i submit batch process
its working.. but when i do the same with spark streaming.. it throws Anyone
please help

14/11/26 17:42:25 INFO server.AbstractConnector: Started
SocketConnector@0.0.0.0:50016
14/11/26 17:42:25 INFO server.Server: jetty-8.1.14.v20131031
14/11/26 17:42:25 INFO server.AbstractConnector: Started
SelectChannelConnector@0.0.0.0:4040
14/11/26 17:42:25 INFO ui.SparkUI: Started SparkUI at
http://172.18.152.36:4040
14/11/26 17:42:30 INFO spark.SparkContext: Added JAR
/Volumes/Official/workspace/ZBI/target/ZBI-0.0.1-SNAPSHOT-jar-with-dependencies.jar
at
http://172.18.152.36:50016/jars/ZBI-0.0.1-SNAPSHOT-jar-with-dependencies.jar
with timestamp 1417003949988
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/spark/ui/SparkUITab
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
	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
org.apache.spark.streaming.StreamingContext.<init>(StreamingContext.scala:161)
	at
org.apache.spark.streaming.StreamingContext.<init>(StreamingContext.scala:91)
	at
org.apache.spark.streaming.api.java.JavaStreamingContext.<init>(JavaStreamingContext.scala:78)
	at com.zoho.zbi.spark.SparkStreaming$1.create(SparkStreaming.java:51)
	at
org.apache.spark.streaming.api.java.JavaStreamingContext$$anonfun$9.apply(JavaStreamingContext.scala:564)
	at
org.apache.spark.streaming.api.java.JavaStreamingContext$$anonfun$9.apply(JavaStreamingContext.scala:563)
	at scala.Option.getOrElse(Option.scala:120)
	at
org.apache.spark.streaming.StreamingContext$.getOrCreate(StreamingContext.scala:545)
	at
org.apache.spark.streaming.api.java.JavaStreamingContext$.getOrCreate(JavaStreamingContext.scala:563)
	at
org.apache.spark.streaming.api.java.JavaStreamingContext.getOrCreate(JavaStreamingContext.scala)
	at com.zoho.zbi.spark.SparkStreaming.callStreaming(SparkStreaming.java:98)



--
View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Submiting-Spark-application-through-code-tp17452p19934.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
For additional commands, e-mail: user-help@spark.apache.org


Mime
View raw message