You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Suresh Srinivas (JIRA)" <ji...@apache.org> on 2013/09/24 04:19:02 UTC

[jira] [Commented] (HDFS-5251) Race between the initialization of NameNode and the http server

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

Suresh Srinivas commented on HDFS-5251:
---------------------------------------

+1 for the change. I will commit it shortly.
                
> Race between the initialization of NameNode and the http server
> ---------------------------------------------------------------
>
>                 Key: HDFS-5251
>                 URL: https://issues.apache.org/jira/browse/HDFS-5251
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Haohui Mai
>            Assignee: Haohui Mai
>         Attachments: HDFS-5251.000.patch
>
>
> The constructor of NameNode starts a HTTP server before the FSNameSystem is initialized. Currently there is a race where the HTTP server can access the uninitialized namesystem variable, throwing a NullPointerException.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira