开发者社区> 问答> 正文

MaxCompute Spark通过Yarn-Cluster模式任务提交命令过程是啥呢?

MaxCompute Spark通过Yarn-Cluster模式任务提交命令过程是啥呢?

展开
收起
bnbajjyhyjfty 2021-12-12 14:29:28 827 0
1 条回答
写回答
取消 提交回答
  • 2cd $SPARK HOME
    3bin/spark-submit --master yarn-cluster --class com.aliyun.odps.spark.examples.SparkPi\4/path/to/MaxCompute-Spark/spark-2.x/target/spark-examples 2.11-1.0.0-SNAPSHOT-shaded.jar5
    6//在windows环境提交的命令7cd$SPARK HOME/bin
    8spark-submit.cmd --master yarn-cluster --class com.aliyun.odps.spark.examples.SparkPi
    9\path1toMaxCompute-Sparkspark-2.xtargetspark-examples 2.11-1.0.0-SNAPSHOT-Shaded.ial
    
    2021-12-12 14:47:19
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
Hybrid Cloud and Apache Spark 立即下载
Scalable Deep Learning on Spark 立即下载
Comparison of Spark SQL with Hive 立即下载