List Info

Thread: Assigned: (HADOOP-820) NameNode startup fails if edit log terminates prematurely




Assigned: (HADOOP-820) NameNode startup fails if edit log terminates prematurely
country flaguser name
United States
2007-10-23 16:01:55
     [ https://issues.apache.org/jira/browse/HADOOP-820?page=com.
atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Raghu Angadi reassigned HADOOP-820:
-----------------------------------

    Assignee: Raghu Angadi  (was: Sameer Paranjpye)

> NameNode startup fails if edit log terminates
prematurely
>
---------------------------------------------------------
>
>                 Key: HADOOP-820
>                 URL: http
s://issues.apache.org/jira/browse/HADOOP-820
>             Project: Hadoop
>          Issue Type: Bug
>          Components: dfs
>         Environment: ~50 node cluster
>            Reporter: Bryan Pendleton
>            Assignee: Raghu Angadi
>         Attachments: fixNameNodeStartup.patch
>
>
> I ran out of space on the device that stores the edit
log, resulting in an edit log that is truncated mid
transaction.
> Ideally, the NameNode should start up, in SafeMode or
the like, whenever this happens. Right now, you get this
stack trace:
> 2006-12-12 15:33:57,212 ERROR
org.apache.hadoop.dfs.NameNode: java.io.EOFExcepti
> on
>         at
java.io.DataInputStream.readUnsignedShort(DataInputStream.ja
va:310)
>         at
org.apache.hadoop.io.UTF8.readFields(UTF8.java:104)
>         at
org.apache.hadoop.dfs.FSEditLog.loadFSEdits(FSEditLog.java:2
27)
>         at
org.apache.hadoop.dfs.FSImage.loadFSImage(FSImage.java:191)
>         at
org.apache.hadoop.dfs.FSDirectory.loadFSImage(FSDirectory.ja
va:320)
>         at
org.apache.hadoop.dfs.FSNamesystem.<init>(FSNamesystem
.java:226)
>         at
org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:14
6)
>         at
org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:13
8)
>         at
org.apache.hadoop.dfs.NameNode.main(NameNode.java:589)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue
online.


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )