Created on 07-28-2015 12:09 AM - edited 09-16-2022 02:36 AM
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.
thx
Failed to start namenode. java.io.FileNotFoundException: /data0/dfs/nn/current/VERSION (Permission denied) at java.io.RandomAccessFile.open(Native Method) at java.io.RandomAccessFile.<init>(RandomAccessFile.java:241) at org.apache.hadoop.hdfs.server.common.StorageInfo.readPropertiesFile(StorageInfo.java:245) at org.apache.hadoop.hdfs.server.common.StorageInfo.readProperties(StorageInfo.java:231) at org.apache.hadoop.hdfs.server.namenode.FSImage.recoverStorageDirs(FSImage.java:325) at org.apache.hadoop.hdfs.server.namenode.FSImage.recoverTransitionRead(FSImage.java:202) at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.loadFSImage(FSNamesystem.java:1006) at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.loadFromDisk(FSNamesystem.java:736) at org.apache.hadoop.hdfs.server.namenode.NameNode.loadNamesystem(NameNode.java:531) at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:587) at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:754) at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:738) at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1427) at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1493)
Created 08-05-2015 08:04 AM
I rebuilt it from scratch. The cause was an improper shutdown. I'll open a new thread if I encounter the same problem again.
Created 07-28-2015 08:22 PM
Created 08-05-2015 08:04 AM
I rebuilt it from scratch. The cause was an improper shutdown. I'll open a new thread if I encounter the same problem again.
Created 12-22-2017 06:14 AM
The same problem after reboot. How rebuilt from scratch?