Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-24613

Doesn't work SplitPolicy attributs for table

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.4.8
    • Fix Version/s: None
    • Component/s: Region Assignment
    • Labels:
      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?

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Aleksmach Aleksandr
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: