>>spark-submit --class WordCount  DataMining.jar /dept_ana/part-00000 /dept_ana/output/wordCountResult --master yarn --num-executors 30 --executor-memory 4g --executor-cores 2 --name test_wordcount

--name 任务名称

/dept_ana/part-00000  程序读取的文件路径

 

/dept_ana/output/wordCountResult 输出的文件路径

 

 

更多精彩内容,欢迎扫码关注以下微信公众号:大数据技术宅。大数据、AI从关注开始

集群提交spark任务命令

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-03-31
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-31
  • 2021-06-06
猜你喜欢
  • 2021-06-24
  • 2021-09-30
  • 2022-12-23
  • 2021-11-24
  • 2021-08-20
相关资源
相似解决方案