Uses of Class
org.apache.hadoop.hbase.master.normalizer.SimpleRegionNormalizer.NormalizeContext
Package
Description
The Region Normalizer subsystem is responsible for coaxing all the regions in a table toward
a "normal" size, according to their storefile size.
-
Uses of SimpleRegionNormalizer.NormalizeContext in org.apache.hadoop.hbase.master.normalizer
Modifier and TypeMethodDescriptionprivate List<NormalizationPlan>
SimpleRegionNormalizer.computeMergeNormalizationPlans
(SimpleRegionNormalizer.NormalizeContext ctx) Computes the merge plans that should be executed for this table to converge average region towards target average or target region count.private List<NormalizationPlan>
SimpleRegionNormalizer.computeSplitNormalizationPlans
(SimpleRegionNormalizer.NormalizeContext ctx) Computes the split plans that should be executed for this table to converge average region size towards target average or target region count.SimpleRegionNormalizer.NormalizerConfiguration.getMergeMinRegionAge
(SimpleRegionNormalizer.NormalizeContext context) int
SimpleRegionNormalizer.NormalizerConfiguration.getMergeMinRegionCount
(SimpleRegionNormalizer.NormalizeContext context) long
SimpleRegionNormalizer.NormalizerConfiguration.getMergeMinRegionSizeMb
(SimpleRegionNormalizer.NormalizeContext context) private boolean
SimpleRegionNormalizer.isLargeEnoughForMerge
(SimpleRegionNormalizer.NormalizerConfiguration normalizerConfiguration, SimpleRegionNormalizer.NormalizeContext ctx, RegionInfo regionInfo) Returntrue
whenregionInfo
has a size that is sufficient to be considered for a merge operation,false
otherwise.private static boolean
SimpleRegionNormalizer.isOldEnoughForMerge
(SimpleRegionNormalizer.NormalizerConfiguration normalizerConfiguration, SimpleRegionNormalizer.NormalizeContext ctx, RegionInfo regionInfo) Returntrue
whenregionInfo
has a creation date that is old enough to be considered for a merge operation,false
otherwise.private boolean
SimpleRegionNormalizer.skipForMerge
(SimpleRegionNormalizer.NormalizerConfiguration normalizerConfiguration, SimpleRegionNormalizer.NormalizeContext ctx, RegionInfo regionInfo) Determine if aRegionInfo
should be considered for a merge operation.