On Oracle Big Data Appliance Mammoth Installation Fails with NameNode not Formatted Error (Doc ID 2044031.1)

Last updated on OCTOBER 11, 2016

Applies to:

Big Data Appliance Integrated Software - Version 3.0.1 and later
Linux x86-64

Symptoms

On Oracle Big Data Appliance , mammoth installation fails at step 10 or 11 during starting HDFS services

In Cloudera Manager , both HDFS , Yarn are BAD health and both Namenodes are down .

Came across below errors in Namenode log file hadoop-cmf-hdfs-NAMENODE-bdanode#.log.out

....................
192.168.10.27:8485: Journal Storage Directory /opt/hadoop/dfs/jn/-ns not formatted
at org.apache.hadoop.hdfs.qjournal.server.Journal.checkFormatted(Journal.java:457)
at org.apache.hadoop.hdfs.qjournal.server.Journal.getLastPromisedEpoch(Journal.java:245)
..............
org.apache.hadoop.hdfs.server.namenode.NameNode: Failed to start namenode.
java.io.IOException: NameNode is not formatted.
at org.apache.hadoop.hdfs.server.namenode.FSImage.recoverTransitionRead(FSImage.java:212)
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.loadFSImage(FSNamesystem.java:1058)
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.loadFromDisk(FSNamesystem.java:762)
at org.apache.hadoop.hdfs.server.namenode.NameNode.loadNamesystem(NameNode.java:582)
at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:641)
at org.apache.hadoop.hdfs.server.namenode.NameNode.(NameNode.java:808)
at org.apache.hadoop.hdfs.server.namenode.NameNode.(NameNode.java:792)
at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1484)
at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1550)
2015-08-11 16:38:51,393 INFO org.apache.hadoop.util.ExitUtil: Exiting with status 1
2015-08-11 16:38:51,394 INFO org.apache.hadoop.hdfs.server.namenode.NameNode: SHUTDOWN_MSG:
/************************************************************
SHUTDOWN_MSG: Shutting down NameNode at bda1node#/192.***.**.**.*
************************************************************

 Followed Doc ID: 1903785.1 but the Namenode cannot be formatted 

 

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms