Class SimpleRegionNormalizer

java.lang.Object
org.apache.hadoop.hbase.master.normalizer.SimpleRegionNormalizer
All Implemented Interfaces:
org.apache.hadoop.conf.Configurable, ConfigurationObserver, RegionNormalizer

@LimitedPrivate("Configuration") class SimpleRegionNormalizer extends Object implements RegionNormalizer, ConfigurationObserver
Simple implementation of region normalizer. Logic in use:
  1. Get all regions of a given table
  2. Get avg size S of the regions in the table (by total size of store files reported in RegionMetrics)
  3. For each region R0, if R0 is bigger than S * 2, it is kindly requested to split.
  4. Otherwise, for the next region in the chain R1, if R0 + R1 is smaller then S, R0 and R1 are kindly requested to merge.