hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From steph <st...@conviva.com>
Subject Re: EOFException while starting name node
Date Mon, 04 Aug 2008 15:27:50 GMT


I have the same thing:
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)



I would appreciate any advice. I tried to move the 'edits' file and  
recreate a new one,
but that did not work.

Thanks,

S.

On Aug 4, 2008, at 2:53 AM, Wanjari, Amol wrote:

> 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
View raw message