Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-3373

Allow regions to be load-balanced by table

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.20.6
    • Fix Version/s: 0.94.0
    • Component/s: master
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      Hide
      There is a parameter, hbase.regions.slop, with default value of 0.2
      This parameter allows actual region count to deviate by this percentage from (ideal) average region count.
      Show
      There is a parameter, hbase.regions.slop, with default value of 0.2 This parameter allows actual region count to deviate by this percentage from (ideal) average region count.

      Description

      From our experience, cluster can be well balanced and yet, one table's regions may be badly concentrated on few region servers.
      For example, one table has 839 regions (380 regions at time of table creation) out of which 202 are on one server.

      It would be desirable for load balancer to distribute regions for specified tables evenly across the cluster. Each of such tables has number of regions many times the cluster size.

        Attachments

        1. 3373.txt
          6 kB
          Ted Yu
        2. HbaseBalancerTest2.java
          3 kB
          Matt Corgan

          Issue Links

            Activity

              People

              • Assignee:
                zhihyu@ebaysf.com Ted Yu
                Reporter:
                yuzhihong@gmail.com Ted Yu
              • Votes:
                3 Vote for this issue
                Watchers:
                18 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: