@InterfaceAudience.LimitedPrivate(value="Configuration") public class ConstantSizeRegionSplitPolicy extends RegionSplitPolicy
RegionSplitPolicy
implementation which splits a region
as soon as any of its store files exceeds a maximum configurable
size.
This is the default split policy. From 0.94.0 on the default split policy has
changed to IncreasingToUpperBoundRegionSplitPolicy
region
Constructor and Description |
---|
ConstantSizeRegionSplitPolicy() |
Modifier and Type | Method and Description |
---|---|
protected void |
configureForRegion(HRegion region)
Upon construction, this method will be called with the region
to be governed.
|
boolean |
positiveJitterRate() |
protected boolean |
shouldSplit() |
create, getSplitPoint, getSplitPolicyClass, skipStoreFileRangeCheck, skipStoreFileRangeCheck
protected void configureForRegion(HRegion region)
RegionSplitPolicy
configureForRegion
in class RegionSplitPolicy
protected boolean shouldSplit()
shouldSplit
in class RegionSplitPolicy
public boolean positiveJitterRate()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.