Class SteppingSplitPolicy
java.lang.Object
org.apache.hadoop.conf.Configured
org.apache.hadoop.hbase.regionserver.RegionSplitPolicy
org.apache.hadoop.hbase.regionserver.ConstantSizeRegionSplitPolicy
org.apache.hadoop.hbase.regionserver.IncreasingToUpperBoundRegionSplitPolicy
org.apache.hadoop.hbase.regionserver.SteppingSplitPolicy
- All Implemented Interfaces:
org.apache.hadoop.conf.Configurable
-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.regionserver.IncreasingToUpperBoundRegionSplitPolicy
initialSize
Fields inherited from class org.apache.hadoop.hbase.regionserver.ConstantSizeRegionSplitPolicy
overallHRegionFiles
Fields inherited from class org.apache.hadoop.hbase.regionserver.RegionSplitPolicy
region
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected long
getSizeToCheck
(int tableRegionsCount) toString()
Methods inherited from class org.apache.hadoop.hbase.regionserver.IncreasingToUpperBoundRegionSplitPolicy
configureForRegion, shouldSplit
Methods inherited from class org.apache.hadoop.hbase.regionserver.ConstantSizeRegionSplitPolicy
getDesiredMaxFileSize, isExceedSize, positiveJitterRate
Methods inherited from class org.apache.hadoop.hbase.regionserver.RegionSplitPolicy
canSplit, create, getSplitPoint, getSplitPolicyClass, skipStoreFileRangeCheck
Methods inherited from class org.apache.hadoop.conf.Configured
getConf, setConf
-
Constructor Details
-
SteppingSplitPolicy
public SteppingSplitPolicy()
-
-
Method Details
-
toString
- Overrides:
toString
in classIncreasingToUpperBoundRegionSplitPolicy
-
getSizeToCheck
- Overrides:
getSizeToCheck
in classIncreasingToUpperBoundRegionSplitPolicy
- Returns:
- flushSize * 2 if there's exactly one region of the table in question found on this regionserver. Otherwise max file size. This allows a table to spread quickly across servers, while avoiding creating too many regions.
-