hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wanjari, Amol" <a...@amazon.com>
Subject EOFException while starting name node
Date Mon, 04 Aug 2008 09:53:48 GMT
I'm getting the following exceptions while starting the name node -

ERROR dfs.NameNode: java.io.EOFException
        at java.io.DataInputStream.readInt(DataInputStream.java:375)
        at
org.apache.hadoop.io.ArrayWritable.readFields(ArrayWritable.java:87)
        at
org.apache.hadoop.dfs.FSEditLog.loadFSEdits(FSEditLog.java:455)
        at org.apache.hadoop.dfs.FSImage.loadFSEdits(FSImage.java:733)
        at org.apache.hadoop.dfs.FSImage.loadFSImage(FSImage.java:620)
        at
org.apache.hadoop.dfs.FSImage.recoverTransitionRead(FSImage.java:222)
        at
org.apache.hadoop.dfs.FSDirectory.loadFSImage(FSDirectory.java:76)
        at
org.apache.hadoop.dfs.FSNamesystem.<init>(FSNamesystem.java:221)
        at org.apache.hadoop.dfs.NameNode.init(NameNode.java:130)
        at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:168)
        at
org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:795)
        at org.apache.hadoop.dfs.NameNode.main(NameNode.java:804)

Is there a way to recover the name node without losing any data.

Thanks,
Amol 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message