因为我要用main函数的args字符串数组,spark-submit提交作业时如何输入这个参数呢?求大神解答。谢谢!!!
--class
--master \
--deploy-mode \
--conf= \
... #other options
\
[application-arguments]
spark-submit --master xxx demo.jar "arg1" "arg2"运行的jar包和传参放在最后