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

Hudson commented on HDFS-8290:
------------------------------

SUCCESS: Integrated in Hadoop-Yarn-trunk #918 (See 
[https://builds.apache.org/job/Hadoop-Yarn-trunk/918/])
HDFS-8290. WebHDFS calls before namesystem initialization can cause 
NullPointerException. Contributed by Chris Nauroth. (cnauroth: rev 
c4578760b67d5b5169949a1b059f4472a268ff1b)
* 
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/web/resources/TestWebHdfsDataLocality.java
* 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt


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

Reply via email to