Support Questions
Find answers, ask questions, and share your expertise

Namenode start failed after installation completes in HDP 3.0.1

Namenode start failed after installation completes in HDP 3.0.1

Super Collaborator

After deployed the services in HDP 3.0.1 Name node is failing to start and throwing Name node is not formatted exception. iwe had got the same issue second time. OS is rhel7 .

Error Details:

2018-11-20 15:12:25,711 ERROR namenode.NameNode ( - Failed to start namenode. NameNode is not formatted. at org.apache.hadoop.hdfs.server.namenode.FSImage.recoverTransitionRead( at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.loadFSImage( at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.loadFromDisk( at org.apache.hadoop.hdfs.server.namenode.NameNode.loadNamesystem( at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize( at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>( at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>( at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode( at org.apache.hadoop.hdfs.server.namenode.NameNode.main( 2018-11-20 15:12:25,712 INFO timeline.HadoopTimelineMetricsSink ( - No live collector to send metrics to. Metrics to be sent will be discarded. This message will be skipped for the next 20 times. 2018-11-20 15:12:25,712 INFO util.ExitUtil ( - Exiting with status 1: NameNode is not formatted. 2018-11-20 15:12:25,714 INFO namenode.NameNode ( - SHUTDOWN_MSG:

After manually formatting the namenode we can able to start the namenode from ambari console.

Seems this is bug in HDP 3.0.1.

Same issue happened Name node HA setup in newly added namenode.

Any workaround for this issue ?