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

IncreasingToUpperBoundRegionSplitPolicy may cause unnecessary region splits in rolling update of cluster

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: In Progress
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Currently IncreasingToUpperBoundRegionSplitPolicy is the default region split policy. In this policy, split size is the number of regions that are on this server that all are of the same table, cubed, times 2x the region flush size.

      But when unloading regions of a regionserver in a cluster using region_mover.rb, the number of regions that are on this server that all are of the same table will decrease, and the split size will decrease too, which may cause the left region split in the regionsever. Region Splits also happens when loading regions of a regionserver in a cluster.

      A improvment may set a minimum split size in IncreasingToUpperBoundRegionSplitPolicy
      Suggestions are welcomed. Thanks~

        Attachments

        1. HBASE-12451-v1.diff
          81 kB
          Shaohui Liu
        2. HBASE-12451-v2.diff
          79 kB
          Shaohui Liu

          Issue Links

            Activity

              People

              • Assignee:
                liushaohui Shaohui Liu
                Reporter:
                liushaohui Shaohui Liu
              • Votes:
                0 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated: