Support Questions

Find answers, ask questions, and share your expertise

Yarn went down on my cluster. I restarted the service but it didn't work. Does it have any thing to do with housekeeping on Cluster ?

avatar
Contributor

Error starting NodeManager

java.lang.NullPointerException

at org.apache.hadoop.yarn.server.nodemanager.containermanager.ContainerManagerImpl.recoverContainer(ContainerManagerImpl.java:289)

at org.apache.hadoop.yarn.server.nodemanager.containermanager.ContainerManagerImpl.recover(ContainerManagerImpl.java:252)

at org.apache.hadoop.yarn.server.nodemanager.containermanager.ContainerManagerImpl.serviceInit(ContainerManagerImpl.java:235)

at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)

at org.apache.hadoop.service.CompositeService.serviceInit(CompositeService.java:107)

at org.apache.hadoop.yarn.server.nodemanager.NodeManager.serviceInit(NodeManager.java:250)

at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)

at org.apache.hadoop.yarn.server.nodemanager.NodeManager.initAndStartNodeManager(NodeManager.java:445)

at org.apache.hadoop.yarn.server.nodemanager.NodeManager.main(NodeManager.java:492)

1 ACCEPTED SOLUTION

avatar
Master Mentor

@Pranshu Pranshu

Login to datanodes or nodemanager node

cd /var/log/hadoop/hdfs

ls -lrt

look into the last log

for example: hadoop-hdfs-datanode-nodename.log

This log will give you the details. It can be related to the memory

View solution in original post

11 REPLIES 11

avatar
Contributor

Yes. it is prod environment.

avatar
Master Mentor

I don't recommend doing anything like this in prod .

Please open a support ticket and have someone from support to look into this.