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
            Priority: Minor


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

        

Reply via email to