You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Joe Crobak (Created) (JIRA)" <ji...@apache.org> on 2011/11/27 14:52:40 UTC

[jira] [Created] (HDFS-2595) misleading message when fs.default.name not set and running sbin/start-dfs.sh

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