2

I am using spark-submit --class main.Main --master local[2] /user/sampledata/parser-0.0.1-SNAPSHOT.jar to run a java-spark code. Is it possible to run this code using war file instead of jar, since I am looking to deploy it on tomcat.

I tried war file but it gives class not found exception.

mck
  • 40,932
  • 13
  • 35
  • 50
rahul
  • 880
  • 3
  • 14
  • 25
  • i have a web application now i need to implement hadoop and spark concepts in it and java code ..created a job that implements the function but have to integarte it with web application – rahul Nov 22 '16 at 06:59
  • 1
    Possible duplicate of [run spark as java web application](http://stackoverflow.com/questions/40030394/run-spark-as-java-web-application) – mrsrinivas Nov 22 '16 at 11:37

0 Answers0