hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Crobak (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-2595) misleading message when fs.default.name not set and running sbin/start-dfs.sh
Date Sun, 27 Nov 2011 13:56:40 GMT

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

Joe Crobak commented on HDFS-2595:
----------------------------------

One possible solution is to change the text of the exception to include a message about fs.default.name
in DfsUtils#getNNServiceRpcAddresses().  The catch clause for the IAE when computing default
address could log a warning about fs.default.name not being set correctly (similar to previous
versions of hadoop).
                
> misleading message when fs.default.name not set and running sbin/start-dfs.sh
> -----------------------------------------------------------------------------
>
>                 Key: HDFS-2595
>                 URL: https://issues.apache.org/jira/browse/HDFS-2595
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: name-node
>    Affects Versions: 0.23.0
>            Reporter: Joe Crobak
>            Priority: Minor
>
> sbin/start-dfs.sh calls {{bin/hdfs getconf -namenodes}} which reports the following error
if the default value of fs.default.name from core-default.xml is used: {noformat}Incorrect
configuration: namenode address dfs.namenode.servicerpc-address or dfs.namenode.rpc-address
is not configured.{noformat}
> In previous versions of hadoop, I would see a slightly more helpful message:
> {noformat}org.apache.hadoop.hdfs.server.namenode.NameNode: java.lang.IllegalArgumentException:
Does not contain a valid host:port authority: file:///{noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message