3

I am working on hadoop-2.6.0 single node cluster in windows. When i submit any mapreduce job, it always in accepted state. It seems my nodemanager is in unhealthy state. How to make it healthy? Why the nodemanager in unhealthy state? or when it will back to the healthy state?

Kumar
  • 3,782
  • 4
  • 39
  • 87

3 Answers3

5

Found the solution here

It seems that the cause of the problem is low disk space in the hadoop installed drive. So i just cleaned up with more space then nodemanager automatically changed into healthy state. We can't do it manually using any commands for changing the states of the hadoop nodes as analyzed.

mac
  • 627
  • 1
  • 9
  • 21
Kumar
  • 3,782
  • 4
  • 39
  • 87
0

When the job is in Accepted stage , it means that its waiting for the datanode to accept and start processing.

The following are to be done:

  1. Check for available slots
  2. If slots are available and its taking time to change status to Running , then check the datanodes health using either cloudera manager or hadoop dfs admin command.

If there are dead nodes , Restarting would solve the issue.

K S Nidhin
  • 2,622
  • 2
  • 22
  • 44
  • If the nodemanager available in the healthy state then only job can be submit. But in my case nodemanager is in unhealthy state, so the job is not assigned yet (accepted state). I want to know how to make the nodemanager back to healthy state. Is there any command to do that. Thanks for your reply. – Kumar Mar 11 '15 at 12:30
  • Never format namenode, that will make landscape inconsistent. – Karthik Mar 11 '15 at 17:41
0

Please try to add the config in yarn-site.xml

name=yarn.nodemanager.disk-health-checker.enable value=false
Tunaki
  • 132,869
  • 46
  • 340
  • 423
dilshad
  • 734
  • 1
  • 10
  • 27