hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suresh Srinivas (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-5687) Hadoop NameNode throws NPE if fs.default.name is the default value
Date Thu, 16 Apr 2009 01:18:15 GMT

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


Mime
View raw message