Home Forums HDP on Linux – Installation How to recover unhealthy node

This topic contains 5 replies, has 3 voices, and was last updated by  Peter Teunissen 8 months, 3 weeks ago.

  • Creator
    Topic
  • #49510

    Peter Teunissen
    Participant

    I’m installing HDP2.0 on Ubuntu 12.04 as a single node test setup. I got to the point where I’ve got HDFS and YARN installed and running. However the single datanode I’ve got shown as unhealthy in the YARN webapp. The message is 1/1 local-dirs turned bad: /grid/hadoop/hdfs/yarn/local;
    I noticed that I didn’t create the directory. So I created it and updated ownership and access rights. Even after reboots and restarts of the different daemons, the node is still shown as unhealthy.

    What additional things do I need to do to recover the datanode and get it ‘healthy’ again?

Viewing 5 replies - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.

  • Author
    Replies
  • #50783

    Peter Teunissen
    Participant

    That solved the issue! After restarting yarn, the node is shown as healthy now.

    thanks

    Collapse
    #50778

    Dave
    Moderator

    Hi Peter,

    This directory should be owned by yarn:hadoop
    Can you change this directory and let me know if the problem persists?

    Thanks

    Dave

    Collapse
    #50774

    Peter Teunissen
    Participant

    @Dave:

    root@hadoop:/# ls -al /grid/hadoop/hdfs/yarn/local
    total 8,0K
    drwxr-xr-x 2 hdfs hadoop 4,0K mrt  3 15:47 .
    drwxr-xr-x 3 hdfs hadoop 4,0K mrt  3 15:47 ..
    root@hadoop:/# 
    
    Collapse
    #50672

    Dave
    Moderator

    Hi Peter,

    On this datanode can you run ls -al on /grid/hadoop/hdfs/yarn/local and print it here?

    Thanks

    Dave

    Collapse
    #50440

    Ryan Suarez
    Participant

    Same problem. Anyone?

    Collapse
Viewing 5 replies - 1 through 5 (of 5 total)