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

Decommissioned nodes are included in cluster after switch which is not expected

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 2.0.0-alpha, 2.0.1-alpha, 2.1.0-beta, 3.0.0-alpha1
    • None
    • ha
    • None

    Description

      Scenario:
      =========

      Start ANN and SNN with three DN's

      Exclude DN1 from cluster by using decommission feature

      (./hdfs dfsadmin -fs hdfs://ANNIP:8020 -refreshNodes)

      After decommission successful,do switch such that SNN will become Active.

      Here exclude node(DN1) is included in cluster.Able to write files to excluded node since it's not excluded.

      Checked SNN(Which Active before switch) UI decommissioned=1 and ANN UI
      decommissioned=0

      One more Observation:
      ====================

      All dfsadmin commands will create proxy only on nn1 irrespective of Active or standby.I think this also we need to re-look once..

      I am not getting , why we are not given HA for dfsadmin commands..?

      Please correct me,,If I am wrong.

      Attachments

        1. HDFS-3744.patch
          5 kB
          Vinayakumar B

        Issue Links

          Activity

            People

              vinayakumarb Vinayakumar B
              brahmareddy Brahma Reddy Battula
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: