My Oracle Support Banner

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

Last updated on DECEMBER 12, 2019

Applies to:

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

Symptoms

NOTE: In the examples that follow, user details, cluster names, hostnames, directory paths, filenames, etc. represent a fictitious sample (and are used to provide an illustrative example only). Any similarity to actual persons, or entities, living or dead, is purely coincidental and not intended in any manner. 

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-bdanode0x.log.out

....................
<PRIVATE_IP_HOST>: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#/<PRIVATE_IP_HOST1>
************************************************************

 Followed Doc ID: 1903785.1 but the Namenode cannot be formatted 

 

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.