how to deploy war file in spark-submit command (spark)

我们两清 提交于 2021-02-10 06:36:17

问题


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 by war file but it gives class not found exception

来源:https://stackoverflow.com/questions/40734240/how-to-deploy-war-file-in-spark-submit-command-spark

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!