Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-8825 Enhancements to Balancer
  3. HDFS-8826

Balancer may not move blocks efficiently in some cases

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha1
    • balancer & mover
    • None
    • Reviewed

    Description

      Balancer is inefficient in the following case:

      Datanode Utilization Rack
      D1 95% A
      D2 30% B
      D3, D4, D5 0% B

      The average utilization is 25% so that D2 is within 10% threshold. However, Balancer currently will first move blocks from D2 to D3, D4 and D5 since they are under the same rack. Then, it will move blocks from D1.

      Attachments

        1. h8826_20150811.patch
          27 kB
          Tsz-wo Sze
        2. h8826_20150816.patch
          29 kB
          Tsz-wo Sze
        3. h8826_20150818.patch
          29 kB
          Tsz-wo Sze

        Issue Links

          Activity

            People

              szetszwo Tsz-wo Sze
              szetszwo Tsz-wo Sze
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: