Master yarn-cluster is deprecated since 2.0. Please use master "yarn" with specified deploy mode

使用下面命令,

bin/spark-submit --class SimpleApp --master yarn-cluster /home/zzhan/workspace/jobs/sparkdemo_2.11-0.1.jar

会产生下面的告警信息:

Master yarn-cluster is deprecated since 2.0. Please use master "yarn" with specified deploy mode instead.

使用新命令替换之

bin/spark-submit --class SimpleApp --master yarn --deploy-mode cluster /home/zzhan/workspace/jobs/sparkdemo_2.11-0.1.jar

你可能感兴趣的:(spark)