赞
踩
在正常启动hadoop的时候系统没有报错,但是jps查看进程的时候发现缺少了nodemanager,查看后台的日志进程···
问题:发现如下错误:FATAL org.apache.hadoop.yarn.server.nodemanager.NodeManager: Error starting NodeManager org.apache.hadoop.yarn.exceptions.YarnRuntimeException: org.apache.hadoop.yarn.exceptions.YarnRuntimeException: Recieved SHUTDOWN signal from Resourcemanager ,Registration of NodeManager failed, Message from ResourceManager: NodeManager
from hadoop22 doesn't satisfy minimum allocations, Sending SHUTDOWN signal to theNodeManager.其实就是yarn-site.xml配置有点问题。nodemanager要求的内存最低1024MB
解决方法:更改yarn-site.xml的配置文件(如下)
<property>
<name>yarn.nodemanager.resource.memory-mb</name>
<value>1024</value>
</property>
<property>
<name>yarn.nodemanager.resource.cpu-vcores</name>
<value>1</value>
</property>
OK !问题解决!
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。