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

Improvements to Stochastic load balancer

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.0.0, 0.98.12
    • 1.2.0, 1.3.0, 2.0.0
    • Balancer
    • None
    • Reviewed

    Description

      There are two things this jira tries to address:

      1. The locality picker in the stochastic balancer does not pick regions with least locality as candidates for swap/move. So when any user configures locality cost in the configs, the balancer does not always seems to move regions with bad locality.

      2. When a cluster has equal number of loaded regions, it always picks the first one. It should pick a random region on one of the equally loaded servers. This improves a chance of finding a good candidate, when load picker is invoked several times.

      Attachments

        1. HBASE-13376_98.patch
          24 kB
          Vandana Ayyalasomayajula
        2. HBASE-13376_0.98.txt
          24 kB
          Vandana Ayyalasomayajula
        3. HBASE-13376_0.txt
          20 kB
          Vandana Ayyalasomayajula
        4. HBASE-13376_1.txt
          20 kB
          Vandana Ayyalasomayajula
        5. HBASE-13376_1_1.txt
          21 kB
          Vandana Ayyalasomayajula
        6. HBASE-13376_branch-1.patch
          21 kB
          Vandana Ayyalasomayajula
        7. HBASE-13376_2_branch-1.patch
          22 kB
          Vandana Ayyalasomayajula
        8. 13376-v2.txt
          22 kB
          Ted Yu
        9. HBASE-13376.patch
          22 kB
          Vandana Ayyalasomayajula
        10. HBASE-13376_2.patch
          18 kB
          Vandana Ayyalasomayajula
        11. HBASE-13376_3.patch
          18 kB
          Vandana Ayyalasomayajula
        12. HBASE-13376_3.patch
          18 kB
          Vandana Ayyalasomayajula
        13. HBASE-13376_4.patch
          37 kB
          Vandana Ayyalasomayajula
        14. 13376_4.patch
          37 kB
          Ted Yu
        15. 13376-v5.patch
          37 kB
          Ted Yu
        16. HBASE-13376_5_branch-1.patch
          37 kB
          Vandana Ayyalasomayajula
        17. HBASE-13376_6_branch-1.patch
          37 kB
          Vandana Ayyalasomayajula
        18. HBASE-13376_0.98_v2.patch
          25 kB
          Vandana Ayyalasomayajula
        19. HBASE-13376_v3_0.98.patch
          24 kB
          Vandana Ayyalasomayajula
        20. HBASE-13376_v4_0.98.patch
          24 kB
          Vandana Ayyalasomayajula

        Activity

          People

            avandana Vandana Ayyalasomayajula
            avandana Vandana Ayyalasomayajula
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: