hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HDFS-121) NullPointerException in INode prevent Namenode from starting
Date Fri, 04 Mar 2011 16:57:38 GMT

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

Tsz Wo (Nicholas), SZE resolved HDFS-121.
-----------------------------------------

    Resolution: Not A Problem

Closing.  Please feel free to reopen if this is still a problem.

> NullPointerException in INode prevent Namenode from starting
> ------------------------------------------------------------
>
>                 Key: HDFS-121
>                 URL: https://issues.apache.org/jira/browse/HDFS-121
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>         Environment: CentOS 5, Sun JDK 1.5.0_15
>            Reporter: Xavier Stevens
>
> After a headnode went down due to a kernel panic, it was restarted.  When trying to restart
the Hadoop process we encountered the following NullPointerException.  It seems this should
be handled more gracefully allowing the Name Node to come up and function while either deleting
or ignoring the problematic INodes.
> 2008-07-09 14:30:11,458 INFO org.apache.hadoop.fs.FSNamesystem: isPermissionEnabled=true
> 2008-07-09 14:30:12,713 ERROR org.apache.hadoop.dfs.NameNode: java.lang.NullPointerException
> 	at org.apache.hadoop.dfs.INodeDirectory.getExistingPathINodes(INode.java:408)
> 	at org.apache.hadoop.dfs.INodeDirectory.getNode(INode.java:357)
> 	at org.apache.hadoop.dfs.INodeDirectory.getNode(INode.java:365)
> 	at org.apache.hadoop.dfs.FSDirectory.unprotectedDelete(FSDirectory.java:458)
> 	at org.apache.hadoop.dfs.FSEditLog.loadFSEdits(FSEditLog.java:537)
> 	at org.apache.hadoop.dfs.FSImage.loadFSEdits(FSImage.java:756)
> 	at org.apache.hadoop.dfs.FSImage.loadFSImage(FSImage.java:639)
> 	at org.apache.hadoop.dfs.FSImage.recoverTransitionRead(FSImage.java:222)
> 	at org.apache.hadoop.dfs.FSDirectory.loadFSImage(FSDirectory.java:79)
> 	at org.apache.hadoop.dfs.FSNamesystem.initialize(FSNamesystem.java:254)
> 	at org.apache.hadoop.dfs.FSNamesystem.<init>(FSNamesystem.java:235)
> 	at org.apache.hadoop.dfs.NameNode.initialize(NameNode.java:131)
> 	at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:176)
> 	at org.apache.hadoop.dfs.NameNode.<init>(NameNode.java:162)
> 	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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message