hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Lipcon (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-2724) NN web UI can throw NPE after startup, before standby state is entered
Date Mon, 09 Jan 2012 06:01:44 GMT

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

Todd Lipcon updated HDFS-2724:
------------------------------

    Attachment: hdfs-2724.txt

Here's a candidate fix. The other way to do it would be to change the code in NameNode.initialize
so that it sets the {{state}} variable before starting the IPC server. But I think actually
adding the {{INITIALIZING}} state is slightly preferable. Let me know if you disagree.
                
> NN web UI can throw NPE after startup, before standby state is entered
> ----------------------------------------------------------------------
>
>                 Key: HDFS-2724
>                 URL: https://issues.apache.org/jira/browse/HDFS-2724
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ha, name-node
>    Affects Versions: HA branch (HDFS-1623)
>            Reporter: Aaron T. Myers
>            Assignee: Todd Lipcon
>         Attachments: hdfs-2724.txt
>
>
> There's a brief period of time (a few seconds) after the NN web server has been initialized,
but before the NN's HA state is initialized. If {{dfshealth.jsp}} is hit during this time,
a {{NullPointerException}} will be thrown.

--
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