You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Eshcar Hillel (JIRA)" <ji...@apache.org> on 2016/12/12 09:10:58 UTC

[jira] [Commented] (HBASE-17294) External Configuration for Memory Compaction

    [ https://issues.apache.org/jira/browse/HBASE-17294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15741396#comment-15741396 ] 

Eshcar Hillel commented on HBASE-17294:
---------------------------------------

Dear [~saint.ack@gmail.com], [~anoop.hbase], [~ram_krish],
Please review the above patch for external configuration of memstore compaction policy.
This is a fairly short patch. 
It consists of 5 files that were actually changed to support a single external control over memory compaction policy and additional 12 tests which were changed to run with NONE (no memory compaction), vs the new BASIC default, as this was the original purpose of these tests. 
All other tests seem to work fine with the new default value.  

> External Configuration for Memory Compaction 
> ---------------------------------------------
>
>                 Key: HBASE-17294
>                 URL: https://issues.apache.org/jira/browse/HBASE-17294
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Eshcar Hillel
>            Assignee: Eshcar Hillel
>         Attachments: HBASE-17294-V01.patch
>
>
> We would like to have a single external knob to control memstore compaction.
> Possible memstore compaction policies are none, basic, and eager.
> This sub-task allows to set this property at the column family level at table creation time:
> {code}
> create ‘<tablename>’,
>    {NAME => ‘<cfname>’, 
>     IN_MEMORY_COMPACTION => ‘<NONE|BASIC|EAGER>’}
> {code}
> or to set this at the global configuration level by setting the property in hbase-site.xml, with BASIC being the default value:
> {code}
> <property>
> 	<name>hbase.hregion.compacting.memstore.type</name>
> 	<value><NONE|BASIC|EAGER></value>
> </property>
> {code}
> The values used in this property can change as memstore compaction policies evolve over time.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)