问题
I want to run map reduce job with:
bin/hadoop jar wc.jar WordCount /user/hadoop/input /user/hadoop/output
As see in picture, The execution gets stuck in connecting to the resource manager and I don't have any error.
Using jps
, Resource Manager
is running but also localhost:8032
can not works on the browser.
yarn-site.xml
:
<configuration>
<property>
<name>yarn.nodemanager.aux-services</name>
<value>mapreduce_shuffle</value>
</property>
<property>
<name>yarn.resourcemanager.address</name>
<value>127.0.0.1:8032</value>
</property>
<property>
<name>yarn.resourcemanager.scheduler.address</name>
<value>127.0.0.1:8030</value>
</property>
<property>
<name>yarn.resourcemanager.resource-tracker.address</name>
<value>127.0.0.1:8031</value>
</property>
</configuration>
Please help me how to run jar properly.
来源:https://stackoverflow.com/questions/50569443/client-rmproxy-connecting-to-resourcemanager-at-127-0-0-18032