You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Raghu Angadi (JIRA)" <ji...@apache.org> on 2008/03/28 19:00:24 UTC

[jira] Commented: (HADOOP-3118) Namenode NPE while loading fsimage after a cluster upgrade from older disk format

    [ https://issues.apache.org/jira/browse/HADOOP-3118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12583112#action_12583112 ] 

Raghu Angadi commented on HADOOP-3118:
--------------------------------------

Could briefly describe the fix, though the patch looks simple? Should this be fixed for 0.17?

> Namenode NPE while loading fsimage after a cluster upgrade from older disk format
> ---------------------------------------------------------------------------------
>
>                 Key: HADOOP-3118
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3118
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>            Reporter: dhruba borthakur
>            Assignee: dhruba borthakur
>         Attachments: loadImageNPE.patch
>
>
> FSDirectory.unprotectedDelete: failed to remove /user/ran gadi/10Mb because it does not exist
> 2008-03-27 22:00:10,904 ERROR org.apache.hadoop.dfs.NameNode: 
> java.lang.NullPointerException
>          at
> org.apache.hadoop.dfs.StringBytesWritable.<init>(StringBytesWritable.java:39)
>          at
> org.apache.hadoop.dfs.INodeFileUnderConstruction.<init>(INode.java:795)
>          at org.apache.hadoop.dfs.FSEditLog.loadFSEdits(FSEditLog.java:528)
>          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.doUpgrade(FSImage.java:250)
>          at
> org.apache.hadoop.dfs.FSImage.recoverTransitionRead(FSImage.java:217)
>          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:846)
>          at org.apache.hadoop.dfs.NameNode.main(NameNode.java:855)

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