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

Should not remove decommissioned node,while calculating the number of live/dead decommissioned node.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7.4
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      True is passed as argument for removing decommissioned node from live/dead node list ,while calculating the number of live/dead decommissioned node.

      public void fetchDatanodes(final List<DatanodeDescriptor> live,
      final List<DatanodeDescriptor> dead, final boolean removeDecommissionNode )

      In FSNamesystem#getNumDecomLiveDataNodes and FSNamesystem#getNumDecomDeadDataNodes , calculation is done as below.
      getBlockManager().getDatanodeManager().fetchDatanodes(null, dead, true);

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                andreina J.Andreina
                Reporter:
                andreina J.Andreina
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: