Package | Description |
---|---|
org.apache.hadoop.hbase.master.normalizer |
The Region Normalizer subsystem is responsible for coaxing all the regions in a table toward
a "normal" size, according to their storefile size.
|
Modifier and Type | Method and Description |
---|---|
private 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.
|
Period |
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)
Return
true when regionInfo 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)
Return
true when regionInfo 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 a
RegionInfo should be considered for a merge operation. |
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.