You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Suresh Srinivas (JIRA)" <ji...@apache.org> on 2009/04/16 03:18:15 UTC

[jira] Commented: (HADOOP-5687) Hadoop NameNode throws NPE if fs.default.name is the default value

    [ https://issues.apache.org/jira/browse/HADOOP-5687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12699470#action_12699470 ] 

Suresh Srinivas commented on HADOOP-5687:
-----------------------------------------

# Make {{DFS_URI_SCHEME}} final 
# {{NameNode.getAddress()}} 
#* use authority that you already have to return as {{getAddress(authority)}}
#* use {{FS_DEFAULT_NAME_KEY}} instead of hardcoded conf name {{"fs.default.name"}}
# Hard coded "hdfs" can be replaced with {{DFS_URI_SCHEME}} in {{SecondaryNameNode.getInforServer()}}


> 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
>            Priority: Minor
>         Attachments: 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.