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.

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    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

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

        Issue Links

          Activity

            People

            • Assignee:
              andreina J.Andreina
              Reporter:
              andreina J.Andreina

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment