Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Namenode start failed after installation completes in HDP 3.0.1

Highlighted

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 (NameNode.java:main(1715)) - Failed to start namenode. java.io.IOException: NameNode is not formatted. at org.apache.hadoop.hdfs.server.namenode.FSImage.recoverTransitionRead(FSImage.java:237) at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.loadFSImage(FSNamesystem.java:1090) at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.loadFromDisk(FSNamesystem.java:714) at org.apache.hadoop.hdfs.server.namenode.NameNode.loadNamesystem(NameNode.java:632) at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:694) at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:937) at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:910) at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1643) at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1710) 2018-11-20 15:12:25,712 INFO timeline.HadoopTimelineMetricsSink (AbstractTimelineMetricsSink.java:getCurrentCollectorHost(291)) - 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 (ExitUtil.java:terminate(210)) - Exiting with status 1: java.io.IOException: NameNode is not formatted. 2018-11-20 15:12:25,714 INFO namenode.NameNode (LogAdapter.java:info(51)) - 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 ?

Don't have an account?
Coming from Hortonworks? Activate your account here