(刚开始学spark的小白 谢谢大牛了?)
输入代码如下 $ spark-submit --master yarn --name spark-yarn /home/hadoop/script/spark04.py hdfs://hadoop000:8020/hello.txt hdfs://hadoop000:8020/hello/output
但是跑起来后一直卡着:(代码在local或者standalone都能正常执行)
19/05/17 22:44:03 INFO yarn.Client: Application report for application_1558100973798_0001 (state: ACCEPTED)
19/05/17 22:44:04 INFO yarn.Client: Application report for application_1558100973798_0001 (state: ACCEPTED)
19/05/17 22:44:05 INFO yarn.Client: Application report for application_1558100973798_0001 (state: ACCEPTED)
19/05/17 22:44:06 INFO yarn.Client: Application report for application_1558100973798_0001 (state: ACCEPTED)
19/05/17 22:44:07 INFO yarn.Client: Application report for application_1558100973798_0001 (state: ACCEPTED)
19/05/17 22:44:08 INFO yarn.Client: Application report for application_1558100973798_0001 (state: ACCEPTED)
19/05/17 22:44:09 INFO yarn.Client: Application report for application_1558100973798_0001 (state: ACCEPTED)
19/05/17 22:44:10 INFO yarn.Client: Application report for application_1558100973798_0001 (state: ACCEPTED)
19/05/17 22:44:11 INFO yarn.Client: Application report for application_1558100973798_0001 (state: ACCEPTED)
19/05/17 22:44:12 INFO yarn.Client: Application report for application_1558100973798_0001 (state: ACCEPTED)
19/05/17 22:44:13 INFO yarn.Client: Application report for application_1558100973798_0001 (state: ACCEPTED)
19/05/17 22:44:14 INFO yarn.Client: Application report for application_1558100973798_0001 (state: ACCEPTED)
19/05/17 22:44:15 INFO yarn.Client: Application report for application_1558100973798_0001 (state: ACCEPTED)
19/05/17 22:44:16 INFO yarn.Client: Application report for application_1558100973798_0001 (state: ACCEPTED)
我的一些配置如下: yarn-site.xml只有这个
capacity-scheduler.xml中yarn分配的也照网上的由0.1改为0.5了
节点也没挂
请问要怎么做呢?
南山搬瓦工
慕设计2395807