Interface for normalization plan.
Performs "normalization" of regions on the cluster, making sure that suboptimal choice of split keys doesn't leave cluster in a situation when some regions are substantially larger than others for considerable amount of time.
Plan which signifies that no normalization is required, or normalization of this table isn't allowed, this is singleton.
Normalization plan to merge regions (smallest region in the table with its smallest neighbor).
Implementation of MergeNormalizer Logic in use: get all regions of a given table get avg size S of each region (by total size of store files reported in RegionLoad) two regions R1 and its neighbour R2 are merged, if R1 + R2 < S, and all such regions are returned to be merged Otherwise, no action is performed
Chore that will call
Factory to create instance of
Simple implementation of region normalizer.
Comparator class that gives higher priority to region Split plan.
Normalization plan to split region.
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.