hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Nauroth (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-8290) WebHDFS calls before namesystem initialization can cause NullPointerException.
Date Mon, 04 May 2015 18:40:08 GMT

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

Chris Nauroth updated HDFS-8290:
--------------------------------
       Resolution: Fixed
    Fix Version/s: 2.8.0
     Hadoop Flags: Reviewed
           Status: Resolved  (was: Patch Available)

I committed this to trunk and branch-2.  Jakob, thank you for the code review.

> WebHDFS calls before namesystem initialization can cause NullPointerException.
> ------------------------------------------------------------------------------
>
>                 Key: HDFS-8290
>                 URL: https://issues.apache.org/jira/browse/HDFS-8290
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: webhdfs
>    Affects Versions: 2.6.0
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>            Priority: Minor
>             Fix For: 2.8.0
>
>         Attachments: HDFS-8290.001.patch
>
>
> The NameNode has a brief window of time when the HTTP server has been initialized, but
the namesystem has not been initialized.  During this window, a WebHDFS call can cause a {{NullPointerException}}.
 We can catch this condition and return a more meaningful error.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message