Re: Running Spark from Scala source files other than main file

2015-03-11 Thread Imran Rashid
did you forget to specify the main class w/ "--class Main"? though if that was it, you should at least see *some* error message, so I'm confused myself ... On Wed, Mar 11, 2015 at 6:53 AM, Aung Kyaw Htet wrote: > Hi Everyone, > > I am developing a scala app, in which the main object does not ca

Running Spark from Scala source files other than main file

2015-03-11 Thread Aung Kyaw Htet
Hi Everyone, I am developing a scala app, in which the main object does not call the SparkContext, but another object defined in the same package creates it, run spark operations and closes it. The jar file is built successfully in maven, but when I called spark-submit with this jar, that spark do