Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-7541 Upgrade Domains in HDFS
  3. HDFS-9007

Fix HDFS Balancer to honor upgrade domain policy

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha1
    • None
    • None

    Description

      In the current design of HDFS Balancer, it doesn't use BlockPlacementPolicy used by namenode runtime. Instead, it has somewhat redundant code to make sure block allocation conforms with the rack policy.

      When namenode uses upgrade domain based policy, we need to make sure that HDFS balancer doesn't move blocks in a way that could violate upgrade domain block placement policy.

      In the longer term, we should consider how to make Balancer independent of the actual BlockPlacementPolicy as in HDFS-1431.

      Attachments

        1. HDFS-9007-branch-2.patch
          52 kB
          Ming Ma
        2. HDFS-9007-2.patch
          52 kB
          Ming Ma
        3. HDFS-9007.patch
          51 kB
          Ming Ma

        Activity

          People

            mingma Ming Ma
            mingma Ming Ma
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: