Uploaded image for project: '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
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 0.23.0
    • Fix Version/s: None
    • Component/s: namenode, scripts
    • 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:///

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated: