Created 02-15-2016 10:50 PM
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)
Created 02-15-2016 11:31 PM
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
Created 02-15-2016 11:02 PM
@Pranshu Pranshu Need more information...Whats in the log files?
Created 02-15-2016 11:26 PM
@Neeraj Sabharwal Thanks for your assistance. I found the above details from the log at the instant when warning was generated. after that the service went down. Apart from this noting more was there in the log. Also the memory uses is just below the critical threshold capacity. We set 90 % for critical limit and right now it is 89 .4 %. So i mentioned is it related to memory issue.
Created 02-15-2016 11:31 PM
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
Created 02-15-2016 11:55 PM
got the logs.seems like It is related to memory issue. Unfortunately i don't have permissions to delete it. Can I create a soft link to move the data around as a work around. Can you please assist if I create a soft link for any lib, will it move the present data or the upcoming data or both ?
Created 02-16-2016 12:30 AM
Are you planning to delete logs? I don't suggest to create symlink without knowing the exact details.
Are you planning to move hdfs data?
Created 02-16-2016 01:09 AM
Yes I was thinking to move the data, deletion is out of my boundaries as per my role.
Created 02-16-2016 01:12 AM
@Pranshu Pranshu Why do yo want to move the data? Is system running out of space?
Created 02-16-2016 09:53 PM
yes the system is running out of space. Can you please suggest me a better way rather than creating a soft link.
Created 02-16-2016 10:08 PM
Is it prod?