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 Wed, 15 Feb 2012 12:46:59 GMT

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

Hudson commented on HDFS-2948:

Integrated in Hadoop-Hdfs-HAbranch-build #78 (See [https://builds.apache.org/job/Hadoop-Hdfs-HAbranch-build/78/])
    HDFS-2948. NN throws NPE during shutdown if it fails to startup. Contributed by Todd Lipcon.
(Revision 1244186)

     Result = FAILURE
todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1244186
Files : 
* /hadoop/common/branches/HDFS-1623/hadoop-hdfs-project/hadoop-hdfs/CHANGES.HDFS-1623.txt
* /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