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