[ https://issues.apache.org/jira/browse/HDFS-8290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Nauroth updated HDFS-8290: -------------------------------- Attachment: HDFS-8290.001.patch I'm attaching a patch that adds a null check and a test. > 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 > 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)