Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-2595

misleading message when fs.default.name not set and running sbin/start-dfs.sh

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 0.23.0
    • Fix Version/s: None
    • Component/s: namenode
    • Labels:
      None

      Description

      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:

      Incorrect configuration: namenode address dfs.namenode.servicerpc-address or dfs.namenode.rpc-address is not configured.

      In previous versions of hadoop, I would see a slightly more helpful message:

      org.apache.hadoop.hdfs.server.namenode.NameNode: java.lang.IllegalArgumentException: Does not contain a valid host:port authority: file:///

        Activity

        Joe Crobak created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Joe Crobak
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:

              Development