数据节点和节点管理器未以伪群集模式启动(Apache Hadoop)

时间:2017-08-25 10:14:36

标签: apache hadoop

数据节点和节点管理器未以伪群集模式(Apache Hadoop)启动。

在日志文件中看到此错误:

***2017-08-22 17:15:08,403 ERROR org.apache.hadoop.yarn.server.nodemanager.NodeStatusUpdaterImpl: Unexpected error starting NodeStatusUpdater
org.apache.hadoop.yarn.exceptions.YarnRuntimeException: Recieved SHUTDOWN signal from Resourcemanager ,Registration of NodeManager failed, Message from ResourceManager: NodeManager from  archit doesn't satisfy minimum allocations, Sending SHUTDOWN signal to the NodeManager.***

    at org.apache.hadoop.yarn.server.nodemanager.NodeStatusUpdaterImpl.registerWithRM(NodeStatusUpdaterImpl.java:278)
    at org.apache.hadoop.yarn.server.nodemanager.NodeStatusUpdaterImpl.serviceStart(NodeStatusUpdaterImpl.java:197)
    at org.apache.hadoop.service.AbstractService.start(AbstractService.java:193)
    at org.apache.hadoop.service.CompositeService.serviceStart(CompositeService.java:120)
    at org.apache.hadoop.yarn.server.nodemanager.NodeManager.serviceStart(NodeManager.java:272)
    at org.apache.hadoop.service.AbstractService.start(AbstractService.java:193)
    at org.apache.hadoop.yarn.server.nodemanager.NodeManager.initAndStartNodeManager(NodeManager.java:496)
    at org.apache.hadoop.yarn.server.nodemanager.NodeManager.main(NodeManager.java:543)
2017-08-22 17:15:08,404 INFO org.apache.hadoop.service.AbstractService: Service org.apache.hadoop.yarn.server.nodemanager.NodeStatusUpdaterImpl failed in state STARTED; cause: org.apache.hadoop.yarn.exceptions.YarnRuntimeException:

1 个答案:

答案 0 :(得分:0)

当启动节点管理器的节点没有足够的资源w.r.t ResourceManager: NodeManager from archit doesn't satisfy minimum allocationsyarn.scheduler.minimum-allocation-vcores配置时,会看到“yarn.scheduler.minimum-allocation-mb”错误。

减少yarn.scheduler.minimum-allocation-vcoresyarn.scheduler.minimum-allocation-mb的值,然后重新启动纱线。