hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eshcar Hillel (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HBASE-17294) External Configuration for Memory Compaction
Date Mon, 12 Dec 2016 09:11:58 GMT

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

Eshcar Hillel edited comment on HBASE-17294 at 12/12/16 9:11 AM:
-----------------------------------------------------------------

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 changed to actually 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.  


was (Author: eshcar):
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)

Mime
View raw message