client.RMProxy: Connecting to ResourceManager at /127.0.0.1:8032

跟風遠走 提交于 2020-02-05 04:58:06

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!