diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.java index 767324aa49c..38cf84722b5 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.java @@ -43,13 +43,13 @@ import org.apache.hadoop.hbase.shaded.protobuf.RequestConverter; * Logic in use: * *
    - *
  1. get all regions of a given table - *
  2. get avg size S of each region (by total size of store files reported in RegionLoad) - *
  3. If biggest region is bigger than S * 2, it is kindly requested to split, - * and normalization stops - *
  4. Otherwise, two smallest region R1 and its smallest neighbor R2 are kindly requested - * to merge, if R1 + R1 < S, and normalization stops - *
  5. Otherwise, no action is performed + *
  6. Get all regions of a given table + *
  7. Get avg size S of each region (by total size of store files reported in RegionLoad) + *
  8. Seek every single region one by one. If a region R0 is bigger than S * 2, it is + * kindly requested to split. Thereon evaluate the next region R1 + *
  9. Otherwise, if R0 + R1 is smaller than S, R0 and R1 are kindly requested to merge. + * Thereon evaluate the next region R2 + *
  10. Otherwise, R1 is evaluated *
*

* Region sizes are coarse and approximate on the order of megabytes. Additionally,