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

BaseLoadBalancer#needsBalance only checks the sloppiness of region count before balancing

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Incomplete
    • 0.99.2
    • None
    • Balancer
    • None

    Description

      BaseLoadBalancer#needsBalance will be invoked to judge whether needs to do balancing. StochasticLoadBalancer do balancing by considering region count skew cost, read/write request cost, locality cost, etc. However, it seems that only sloppiness of region count is checked in BaseLoadBalancer#needsBalance, there may be cases that request/locality cost is high when region count is even, this will skip the actual balancing so that can't achieve lower cost. There, Do we need to check sloppiness of other factors(read/write request, locality, etc) in needsBalance?

      Attachments

        Activity

          People

            Unassigned Unassigned
            cuijianwei Jianwei Cui
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: