Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.4.8
-
None
-
None
Description
Doesn't work SplitPolicy settings at the table level. Regions are splits to very low size.
Table describe:
test_split, {TABLE_ATTRIBUTES => {MAX_FILESIZE => '2147483648', METADATA => {'SPLIT_POLICY' => 'org.apache.hadoop.hbase.regionserver.ConstantSizeRegionSplitPolicy'}} COLUMN FAMILIES DESCRIPTION {NAME => 'data', BLOOMFILTER => 'ROW', VERSIONS => '1', IN_MEMORY => 'false', KEEP_DELETED_CELLS => 'FALSE', DATA_BLOCK_ENCODING => 'NONE', TTL => 'FOREVER', COMPRESSION => 'NONE', MIN_VERSIONS => '0', BLOCKCACHE => 'true', BLOCKSIZE => '65536', REPLICATION_SCOPE => '0'} {NAME => 'number', BLOOMFILTER => 'ROW', VERSIONS => '1', IN_MEMORY => 'false', KEEP_DELETED_CELLS => 'FALSE', DATA_BLOCK_ENCODING => 'NONE', TTL => 'FOREVER', COMPRESSION => 'NONE', MIN_VERSIONS => '0', BLOCKCACHE => 'true', BLOCKSIZE => '65536', REPLICATION_SCOPE => '0'} {NAME => 'uuid', BLOOMFILTER => 'ROW', VERSIONS => '1', IN_MEMORY => 'false', KEEP_DELETED_CELLS => 'FALSE', DATA_BLOCK_ENCODING => 'NONE', TTL => 'FOREVER', COMPRESSION => 'NONE', MIN_VERSIONS => '0', BLOCKCACHE => 'true', BLOCKSIZE => '65536', REPLICATION_SCOPE => '0'}
Global settings that affect split:
- Maximum Region File Size - 10GB
- Memstore Flush Size - 128MB
- hbase.regionserver.region.split.policy - org.apache.hadoop.hbase.regionserver.ConstantSizeRegionSplitPolicy
As a result, regions are splits to 400-600MB, but we expecting should region size 2GB.
Why it happens? This is a bug?