hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "dhruba borthakur (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-3118) Namenode NPE while loading fsimage after a cluster upgrade from older disk format
Date Fri, 28 Mar 2008 18:12:24 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-3118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

dhruba borthakur updated HADOOP-3118:
-------------------------------------

    Fix Version/s: 0.17.0

The new disk format stores open lease for files that were being written to. When a old disk
format is upgraded to the new format, the values inside the lease were not initialised. For
example, the name of the client that holds the lease was erroneously set to null.

> 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
>             Fix For: 0.17.0
>
>         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.


Mime
View raw message