spark-shell on Yarn
/opt/spark-1.6.1-bin-hadoop2.6/bin/spark-shell
--master yarn --deploy-mode client
--conf spark.shuffle.service.enabled=true
--conf spark.dynamicAllocation.enabled=true
</auto_cron/cron-running/bidw/dml/user_center/bidw-scala-dml-fund_recom.scala
spark-sql on Yarn:
spark-sql --master yarn --deploy-mode client --conf spark.shuffle.service.enabled=true --conf spark.dynamicAllocation.enabled=true -S
本文介绍如何使用 Spark 在 YARN 模式下进行部署,并启用了 shuffle 服务及动态资源分配。提供了使用 spark-shell 和 spark-sql 的具体命令行参数配置。
484

被折叠的 条评论
为什么被折叠?



