【发布时间】:2015-02-17 16:38:39
【问题描述】:
在 SPARK-SUBMIT 中,“yarn”、“yarn-cluster”、“yarn-client”部署模式有什么区别?
./bin/spark-submit \
--class org.apache.spark.examples.SparkPi \
--master yarn-cluster \ # can also be `yarn-client` for client mode
--executor-memory 20G \
--num-executors 50 \
/path/to/examples.jar \
1000
https://spark.apache.org/docs/1.1.0/submitting-applications.html
【问题讨论】: