Posts: 15
Registered: ‎07-09-2015
Accepted Solution

Clouder Manager fails to start HDFS

[ Edited ]

Encountered the following after restarting a cluster running on EC2.  The shutdown was not graceful.   The "permission denied" seems to conflict with "FileNotFoundException"  

All other rolls start up healthy.





Failed to start namenode. /data0/dfs/nn/current/VERSION (Permission denied)
	at Method)
	at org.apache.hadoop.hdfs.server.common.StorageInfo.readPropertiesFile(
	at org.apache.hadoop.hdfs.server.common.StorageInfo.readProperties(
	at org.apache.hadoop.hdfs.server.namenode.FSImage.recoverStorageDirs(
	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(
Cloudera Employee
Posts: 578
Registered: ‎01-20-2014

Re: Clouder Manager fails to start HDFS

Please verify if the VERSION file is available and readable by the hdfs
user. If yes then what are the contents?

Gautam Gopalakrishnan
Posts: 15
Registered: ‎07-09-2015

Re: Clouder Manager fails to start HDFS

I rebuilt it from scratch.  The cause was an improper shutdown.  I'll open a new thread if I encounter the same problem again.

New Contributor
Posts: 1
Registered: ‎12-22-2017

Re: Clouder Manager fails to start HDFS

The same problem after reboot. How rebuilt from scratch?