本文是基于hbase-0.98.6-cdh5.2.0
Region split policy
HBase的region split策略一共有以下几种:
- IncreasingToUpperBoundRegionSplitPolicy
- ConstantSizeRegionSplitPolicy
- DisabledRegionSplitPolicy
- KeyPrefixRegionSplitPolicy
- DelimitedKeyPrefixRegionSplitPolicy
IncreasingToUpperBoundRegionSplitPolicy
直接查看源码IncreasingToUpperBoundRegionSplitPolicy.java头部声明
Split size is the number of regions that are on this server that all are
of the same table, cubed, times 2x the region flush size OR the maximum
region split size, whichever is smaller. For example, if the flush size
is 1