hadoop-hdfs-dev mailing list archives

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

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

Todd Lipcon resolved HDFS-2948.
-------------------------------

    Resolution: Fixed

Applied the delta, thanks
                
> 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

        

Mime
View raw message