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.

Name node not starting after computer restarts

Name node not starting after computer restarts

New Contributor

Hello,

 

My cluster has the following configuration  2 NN , 5 DN , 3 JN.

After restarting the cluster ,none of the name node started .Please see the attached screenshot & logs.

Is there any suggestion to start the name node ? This is DEV enviroment,so if i lost the data i can easily reload it.

 

Thanks

 

2018-06-22_21-24-22.png

 

9:02:01.896 PMWARNFSEditLog
Unable to determine input streams from QJM to [192.168.83.30:8485, 192.168.83.28:8485, 192.168.83.5:8485]. Skipping.
org.apache.hadoop.hdfs.qjournal.client.QuorumException: Got too many exceptions to achieve quorum size 2/3. 1 successful responses:
192.168.83.5:8485: [[1292263,1292312], [1292313,1292376], [1292377,1292426], [1292427,1292488], [1292489,1292538], [1292539,1292588], [1292589,1292664], [1292665,1292714], [1292715,1292778], [1292779,1292846], [1292847,1292985], [1292986,1293049], [1293050,1293099], [1293100,1293164], [1293165,1293214], [1293215,1293264], [1293265,1293355], [1293356,1293405], [1293406,1293469], [1293470,1293520], [1293521,1293579], [1293580,1293643], [1293644,1293706], [1293707,1293775], [1293776,1293796]]
2 exceptions thrown:
192.168.83.28:8485: Journal Storage Directory /tmp/jrnldata/HAnameService not formatted
	at org.apache.hadoop.hdfs.qjournal.server.Journal.checkFormatted(Journal.java:472)
	at org.apache.hadoop.hdfs.qjournal.server.Journal.getEditLogManifest(Journal.java:655)

 

 

9:02:02.665 PMFATALFSEditLog
Error: recoverUnfinalizedSegments failed for required journal (JournalAndStream(mgr=QJM to [192.168.83.30:8485, 192.168.83.28:8485, 192.168.83.5:8485], stream=null))
org.apache.hadoop.hdfs.qjournal.client.QuorumException: Got too many exceptions to achieve quorum size 2/3. 1 successful responses:
192.168.83.5:8485: lastPromisedEpoch: 23
httpPort: 8480
fromURL: "http://ntiger:8480"

2 exceptions thrown:
192.168.83.30:8485: Journal Storage Directory /tmp/jrnldata/HAnameService not formatted
	at org.apache.hadoop.hdfs.qjournal.server.Journal.checkFormatted(Journal.java:472)
	at org.apache.hadoop.hdfs.qjournal.server.Journal.getLastPromisedEpoch(Journal.java:245)
1 REPLY 1

Re: Name node not starting after computer restarts

New Contributor

Hi,

Your problem looks similar to the one in below link.

 

http://grokbase.com/t/cloudera/cdh-user/12arpkhg3h/journalnotformattedexception-journal-storage-dire...

 

Regards
Veera