jarOfClass method no found in SparkContext

2014-01-15 Thread arjun biswas
Hello All , I have installed spark on my machine and was succesful in running sbt/sbt package as well as sbt/sbt assembly . I am trying to run the examples in java from eclipse . To be precise i am trying to run the JavaLogQuery example from eclipse . The issue is i am unable to resolve this

Re: jarOfClass method no found in SparkContext

2014-01-15 Thread Tathagata Das
Could it be possible that you have an older version of JavaSparkContext (i.e. from an older version of Spark) in your path? Please check that there aren't two versions of Spark accidentally included in your class path used in Eclipse. It would not give errors in the import (as it finds the

Re: jarOfClass method no found in SparkContext

2014-01-15 Thread arjun biswas
Thanks for pointing me to that mistake . Yes i was using the spark 0.8.1 incubating jar and the master branch code examples . I corrected the mistake Regards On Wed, Jan 15, 2014 at 5:51 PM, Patrick Wendell pwend...@gmail.com wrote: Hm, are you sure you haven't included the master branch of