Re: How to deploy my java code which invokes Spark in Tomcat?

2014-12-21 Thread Akhil Das
If you are getting classNotFound, then you should use --jars option (of spark-submit) to submit those jars. Thanks Best Regards On Sun, Dec 21, 2014 at 10:01 AM, Tao Lu taolu2...@gmail.com wrote: Hi, Guys, I have some code which runs will using Spark-Submit command.

How to deploy my java code which invokes Spark in Tomcat?

2014-12-20 Thread Tao Lu
Hi, Guys, I have some code which runs will using Spark-Submit command. $SPARK_HOME/bin/spark-submit --class com.myorg.service.SparkService ./Search.jar How can I deploy it to Tomcat? If I simply deploy the jar file, I will get ClassNotFound error. Thanks!