You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by Aaron Kimball <aa...@cloudera.com> on 2009/01/16 02:22:52 UTC

Re: Hadoop 0.17.1 => EOFException reading FSEdits file, what causes this? how to prevent?

Does the file exist or maybe was it deleted? Also, are the permissions on
that directory set correctly, or could they have been changed out from under
you by accident?

- Aaron

On Tue, Jan 13, 2009 at 9:53 AM, Joe Montanez <jm...@veoh.com> wrote:

> Hi:
>
>
>
> I'm using Hadoop 0.17.1 and I'm encountering EOFException reading the
> FSEdits file.  I don't have a clear understanding what is causing this
> and how to prevent this.  Has anyone seen this and can advise?
>
>
>
> Thanks in advance,
>
> Joe
>
>
>
> 2009-01-12 22:51:45,573 ERROR org.apache.hadoop.dfs.NameNode:
> java.io.EOFException
>
>        at java.io.DataInputStream.readFully(DataInputStream.java:180)
>
>        at org.apache.hadoop.io.UTF8.readFields(UTF8.java:106)
>
>        at
> org.apache.hadoop.io.ArrayWritable.readFields(ArrayWritable.java:90)
>
>        at
> org.apache.hadoop.dfs.FSEditLog.loadFSEdits(FSEditLog.java:599)
>
>        at org.apache.hadoop.dfs.FSImage.loadFSEdits(FSImage.java:766)
>
>        at org.apache.hadoop.dfs.FSImage.loadFSImage(FSImage.java:640)
>
>        at
> org.apache.hadoop.dfs.FSImage.recoverTransitionRead(FSImage.java:223)
>
>        at
> org.apache.hadoop.dfs.FSDirectory.loadFSImage(FSDirectory.java:80)
>
>        at
> org.apache.hadoop.dfs.FSNamesystem.initialize(FSNamesystem.java:274)
>
>        at
> org.apache.hadoop.dfs.FSNamesystem.<init>(FSNamesystem.java:255)
>
>        at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:133)
>
>        at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:178)
>
>        at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:164)
>
>        at
> org.apache.hadoop.dfs.NameNode.createNameNode(NameNode.java:848)
>
>        at org.apache.hadoop.dfs.NameNode.main(NameNode.java:857)
>
>
>
> 2009-01-12 22:51:45,574 INFO org.apache.hadoop.dfs.NameNode:
> SHUTDOWN_MSG:
>
>
>
>