码迷,mamicode.com
首页 > 其他好文 > 详细

Spark-submit 测试任务提交

时间:2019-07-02 13:29:50      阅读:343      评论:0      收藏:0      [点我收藏+]

标签:clu   master   yarn   ipa   hadoop2   oop   kpi   spark   pre   

Spark-submit 测试任务提交

./spark-submit --keytab /usr/local/noah/basp-dataprocess-log/conf/noah.keytabs --principal noah@BJ.CTC --class org.apache.spark.examples.SparkPi --master local[*] ../lib/spark-examples-1.6.3.2.6.0.3-8-hadoop2.7.3.2.6.0.3-8.jar 100
./spark-submit --class org.apache.spark.examples.SparkPi --master local[*] /app/hdp/2.6.0.3-8/spark2/examples/jars/spark-examples_2.11-2.1.0.2.6.0.3-8.jar
 100
 /usr/hdp/2.6.0.3-8/spark2/bin/spark-submit --class org.apache.spark.examples.SparkPi --master yarn --deploy-mode cluster /app/hdp/2.6.0.3-8/spark2/examples/jars/spark-examples_2.11-2.1.0.2.6.0.3-8.jar 100
./spark-submit --class org.apache.spark.examples.SparkPi --master yarn-client /app/hdp/2.6.0.3-8/spark2/examples/jars/spark-examples_2.11-2.1.0.2.6.0.3-8.jar 100

Spark-submit 测试任务提交

标签:clu   master   yarn   ipa   hadoop2   oop   kpi   spark   pre   

原文地址:https://blog.51cto.com/fengyunshan911/2416098

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!