hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-2948) HA: NN throws NPE during shutdown if it fails to startup
Date Thu, 16 Feb 2012 12:46:00 GMT

    [ https://issues.apache.org/jira/browse/HDFS-2948?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13209327#comment-13209327

Hudson commented on HDFS-2948:

Integrated in Hadoop-Hdfs-HAbranch-build #79 (See [https://builds.apache.org/job/Hadoop-Hdfs-HAbranch-build/79/])
    Amend HDFS-2948. NN throws NPE during shutdown if it fails to startup

Previous patch missed the case where the NN fails to start up when it's starting in standby
state. (Revision 1244813)

     Result = FAILURE
todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1244813
Files : 
* /hadoop/common/branches/HDFS-1623/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNode.java

> HA: NN throws NPE during shutdown if it fails to startup
> --------------------------------------------------------
>                 Key: HDFS-2948
>                 URL: https://issues.apache.org/jira/browse/HDFS-2948
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ha, name-node
>    Affects Versions: HA branch (HDFS-1623)
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Minor
>             Fix For: HA branch (HDFS-1623)
>         Attachments: hdfs-2948.txt
> Last night's nightly build had a bunch of NPEs thrown in NameNode.stop. Not sure which
patch introduced the issue, but the problem is that NameNode.stop() is called if an exception
is thrown during startup. If the exception is thrown before the namesystem is created, then
NameNode.namesystem is null, and {{namesystem.stop}} throws NPE.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message