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

Steve Loughran updated HADOOP-5687:
-----------------------------------

    Attachment: HADOOP-5687-extension-2.patch

This patch 
-checks for  hdfs before worrying about the authority
-gives full diagnostics on all calls to Filesystem.getDefaultUri()
-has lots of tests

 HADOOP-5901 is the report about the behavior of fixName() -the tests here do 
assert that it works as currently designed; if the odd patching is removed, 
these tests will need changing as the error messages will be different.

> Hadoop NameNode throws NPE if fs.default.name is the default value
> ------------------------------------------------------------------
>
>                 Key: HADOOP-5687
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5687
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: dfs
>            Reporter: Philip Zeyliger
>            Assignee: Philip Zeyliger
>            Priority: Minor
>             Fix For: 0.21.0
>
>         Attachments: HADOOP-5687-extension-1.patch, 
> HADOOP-5687-extension-2.patch, HADOOP-5687-v3.patch, HADOOP-5687-v4.patch, 
> HADOOP-5687-v5.patch, HADOOP-5687-v5.patch, HADOOP-5687.patch, 
> HADOOP-5687.patch
>
>
> Throwing NPE is confusing; instead, an exception with a useful string 
> description could be thrown instead.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to