【发布时间】:2016-05-13 05:33:26
【问题描述】:
我已经在 ambari-server 中提交了我的 spark 作业 使用以下命令..
./spark-submit --class customer.core.classname --master yarn --numexecutors 2 --driver-memory 2g --executor-memory 2g --executor-cores 1 /home/hdfs/Test/classname-0.0.1-SNAPSHOT-SNAPSHOT.jar newdata host:6667
它工作正常......
但是它怎么能一直运行呢,就像我们关闭命令提示符或者试图杀死作业一样,它必须一直运行。
感谢任何帮助。
【问题讨论】:
标签: shell apache-spark