Aleksandr created HBASE-24613:
---------------------------------
Summary: Doesn't work SplitPolicy attributs for table
Key: HBASE-24613
URL: https://issues.apache.org/jira/browse/HBASE-24613
Project: HBase
Issue Type: Bug
Components: Region Assignment
Affects Versions: 1.4.8
Reporter: Aleksandr
Attachments: image-2020-06-22-18-04-27-155.png
Doesn't work SplitPolicy settings at the table level. Regions are splits to
very low size.
Table describe:
{code:java}
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'}{code}
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.
!image-2020-06-22-18-04-27-155.png!
Why it happens? This is a bug?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)