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

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: HA branch (HDFS-1623)
    • Fix Version/s: 2.0.0-alpha
    • Component/s: scripts
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      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

      1. hdfs-2995.txt
        2 kB
        Eli Collins

        Issue Links

          Activity

          Todd Lipcon created issue -
          Eli Collins made changes -
          Field Original Value New Value
          Assignee Eli Collins [ eli2 ]
          Eli Collins made changes -
          Parent HDFS-1623 [ 12498318 ]
          Issue Type Sub-task [ 7 ] Bug [ 1 ]
          Eli Collins made changes -
          Summary start-dfs.sh tries to start 2NN everywhere start-dfs.sh should only start the 2NN for namenodes with dfs.namenode.secondary.http-address configured
          Target Version/s HA branch (HDFS-1623) [ 12317568 ] 0.23.2 [ 12319852 ]
          Eli Collins made changes -
          Attachment hdfs-2995.txt [ 12515777 ]
          Jeff Hammerbacher made changes -
          Link This issue is related to HDFS-2893 [ HDFS-2893 ]
          Todd Lipcon made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Hadoop Flags Reviewed [ 10343 ]
          Fix Version/s 2.0.0 [ 12320353 ]
          Resolution Fixed [ 1 ]
          Eli Collins made changes -
          Assignee Eli Collins [ eli2 ] Eli Collins [ eli ]

            People

            • Assignee:
              Eli Collins
              Reporter:
              Todd Lipcon
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development