spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yasemin Kaya <godo...@gmail.com>
Subject Re: java.lang.ClassNotFoundException
Date Sat, 08 Aug 2015 18:22:38 GMT
Thanx Ted, i solved it :)

2015-08-08 14:07 GMT+03:00 Ted Yu <yuzhihong@gmail.com>:

> Have you tried including package name in the class name ?
>
> Thanks
>
>
>
> On Aug 8, 2015, at 12:00 AM, Yasemin Kaya <godot85@gmail.com> wrote:
>
> Hi,
>
> I have a little spark program and i am getting an error why i dont
> understand.
> My code is https://gist.github.com/yaseminn/522a75b863ad78934bc3.
> I am using spark 1.3
> Submitting : bin/spark-submit --class MonthlyAverage --master local[4]
> weather.jar
>
>
> error:
>
> ~/spark-1.3.1-bin-hadoop2.4$ bin/spark-submit --class MonthlyAverage
> --master local[4] weather.jar
> java.lang.ClassNotFoundException: MonthlyAverage
> 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:274)
> at
> org.apache.spark.deploy.SparkSubmit$.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:538)
> at org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:166)
> at org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:189)
> at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:110)
> at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
> Using Spark's default log4j profile:
> org/apache/spark/log4j-defaults.properties
>
>
> Please help me Asap..
>
> yasemin
> --
> hiç ender hiç
>
>


-- 
hiç ender hiç

Mime
View raw message