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

StochasticLoadBalancer still uses SimpleLoadBalancer's needBalance logic

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Implemented
    • 0.98.0
    • None
    • Balancer
    • None

    Description

      StochasticLoadBalancer has become the default balancer since 0.98.0. But its balanceCluster method still uses the BaseLoadBalancer.needBalance() which is originally designed for SimpleLoadBalancer. It's all based on the number of regions on the regionservers.
      This can cause such a problem: when the cluster has some Hot Spot Region, the balance process may not be triggered because the numbers of regions on the RegionServers are averaged.

      Attachments

        1. HBASE_10761_v2.patch
          3 kB
          Victor Xu
        2. HBASE_10761.patch
          2 kB
          Victor Xu

        Activity

          People

            Unassigned Unassigned
            victorunique Victor Xu
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: