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.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.7.4
    • None
    • None
    • 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

        1. HDFS-8682.1.patch
          2 kB
          J.Andreina

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: