Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-2995

start-dfs.sh should only start the 2NN for namenodes with dfs.namenode.secondary.http-address configured

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • HA branch (HDFS-1623)
    • 2.0.0-alpha
    • scripts
    • None
    • Reviewed

    Description

      When I run "start-dfs.sh" it tries to start a 2NN on every node in the cluster. This despite:

      [todd@c1120 hadoop-active]$ ./bin/hdfs getconf -secondaryNameNodes
      Incorrect configuration: secondary namenode address dfs.namenode.secondary.http-address is not configured.

      Thankfully they do not start

      Attachments

        1. hdfs-2995.txt
          2 kB
          Eli Collins

        Issue Links

          Activity

            People

              eli Eli Collins
              tlipcon Todd Lipcon
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: