MapReduce in Hadoop 2.2.0 not working

与世无争的帅哥 提交于 2019-12-01 13:31:13

The problem was in the file yarn-site.xml. The property must be larger than 3072 Mb, and I had it configured to 1024 Mb, so the correct way is

<property>
    <name>yarn.nodemanager.resource.memory-mb</name>
    <value>4096</value>
    <description>Physical memory, in MB, to be made available to running containers</description>
</property>

I think the log is not detailed enough,you can first Open the debug mode:

export HADOOP_ROOT_LOGGER=DEBUG,console

then run wordcount job for see more log and paste

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