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

DatanodeReportType should add LIVE_NOT_DECOMMISSIONING type

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Invalid
    • None
    • None
    • balancer & mover, namenode
    • None

    Description

      Balancer builds cluster nodes by getDatanodeStorageReport(DatanodeReportType.LIVE) method。If the user does not specify the exclude node list, the balancer may migrate data to the DataNode in the decommission state. Should we filter out nodes in the decommission state by a new DatanodeReportType(LIVE_NOT_DECOMMISSIONING) regardless of whether the user specifies the exclude node list ?

      Attachments

        1. HDFS-16020.001.patch
          9 kB
          lei w

        Activity

          People

            lei w lei w
            lei w lei w
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: