Home Forums HDP on Windows – Installation NameNode cannot be started after successful HDP 1.3 Installation

This topic contains 1 reply, has 2 voices, and was last updated by  Agastya Mahi 10 months, 3 weeks ago.

  • Creator
    Topic
  • #38235

    Seth Lyubich
    Keymaster

    ROOT CAUSE: If user runs an installer with DESTROY_DATA=NO option, the installer will not crete NameNode directories. You should see similar error in NameNode log:

    2013-08-22 14:29:14,228 ERROR org.apache.hadoop.hdfs.server.namenode.NameNode: org.apache.hadoop.hdfs.server.common.InconsistentFSStateException: Directory C:\hadoop_data\hdfs\nn is in an inconsistent state: storage directory does not exist or is not accessible.
    at org.apache.hadoop.hdfs.server.namenode.FSImage.recoverTransitionRead(FSImage.java:289)
    at

    WORKAROUND:
    1. Open the “Hadoop Command Line” Command Prompt shortcut.
    2. Run the following command that sets up the NameNode directories: “hadoop namenode -format”

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.

  • Author
    Replies
  • #47842

    Agastya Mahi
    Participant

    I tried and got the error – Could not find the main class: namenode-format.

    Thanks,
    Agastya

    Collapse
Viewing 1 replies (of 1 total)