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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 0.23.0
    • None
    • namenode, scripts
    • 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

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

            Dates

              Created:
              Updated: