hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew <gud...@gmail.com>
Subject Loading FSEditLog fails
Date Wed, 13 May 2009 16:59:42 GMT
Namenode fails to start and writes this error. What can I do to repair it?


2009-05-13 20:54:55,098 INFO  namenode.FSNamesystem 
(FSNamesystem.java:registerMBean(4464)) - Registered F
SNamesystemStatusMBean
2009-05-13 20:54:55,133 INFO  common.Storage (FSImage.java:loadFSImage(852)) - 
Number of files = 52756
2009-05-13 20:54:55,133 INFO  common.Storage (FSImage.java:loadFSImage(852)) - 
Number of files = 52756
2009-05-13 20:54:56,492 INFO  common.Storage 
(FSImage.java:loadFilesUnderConstruction(1183)) - Number of f
iles under construction = 0
2009-05-13 20:54:56,492 INFO  common.Storage 
(FSImage.java:loadFilesUnderConstruction(1183)) - Number of files under 
construction = 0
2009-05-13 20:54:56,493 INFO  common.Storage (FSImage.java:loadFSImage(789)) - 
Image file of size 6551593 loaded in 1 seconds.
2009-05-13 20:54:56,493 INFO  common.Storage (FSImage.java:loadFSImage(789)) - 
Image file of size 6551593 loaded in 1 seconds.
2009-05-13 20:54:56,676 ERROR namenode.FSNamesystem 
(FSNamesystem.java:<init>(290)) - FSNamesystem initialization failed.
java.io.IOException: Incorrect data format. logVersion is -18 but 
writables.length is 0.
        at 
org.apache.hadoop.hdfs.server.namenode.FSEditLog.loadFSEdits(FSEditLog.java:542)
        at 
org.apache.hadoop.hdfs.server.namenode.FSImage.loadFSEdits(FSImage.java:973)
        at 
org.apache.hadoop.hdfs.server.namenode.FSImage.loadFSImage(FSImage.java:793)
        at 
org.apache.hadoop.hdfs.server.namenode.FSImage.recoverTransitionRead(FSImage.java:352)
        at 
org.apache.hadoop.hdfs.server.namenode.FSDirectory.loadFSImage(FSDirectory.java:87)
        at 
org.apache.hadoop.hdfs.server.namenode.FSNamesystem.initialize(FSNamesystem.java:309)
        at 
org.apache.hadoop.hdfs.server.namenode.FSNamesystem.<init>(FSNamesystem.java:288)
        at 
org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:163)
        at 
org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:208)
        at 
org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:194)
        at 
org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:859)
        at 
org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:868)

Mime
View raw message