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

Jonathan Gray commented on HBASE-3320:
--------------------------------------

hmm ok.  i think having this configurable is fairly important for 0.90 based on 
the behavior i saw on cluster.  i will update the config param name to whatever 
you used in the other patch and apply this only to the 90 branch (it will be 
picked up in next RC or 0.90.1).

> Compaction parameter minCompactSize should be configurable
> ----------------------------------------------------------
>
>                 Key: HBASE-3320
>                 URL: https://issues.apache.org/jira/browse/HBASE-3320
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 0.90.0, 0.92.0
>            Reporter: Jonathan Gray
>            Assignee: Jonathan Gray
>            Priority: Critical
>             Fix For: 0.90.0, 0.92.0
>
>         Attachments: HBASE-3320-v1.patch
>
>
> In the new compaction algorithm, there is a minCompactSize parameter which is 
> used to include files in selection if they are under this size.
> Currently this is:
> {noformat}
>     this.minCompactSize = this.region.memstoreFlushSize * 3 / 2; // +50% pad
> {noformat}
> In a cluster, we had high setting of flush size but were doing frequent small 
> flushes because of HLog eviction.  This led to pathological cases in 
> compaction file selection that this algorithm is trying to avoid in the first 
> place.
> Should make this configurable but the existing value should be fine for 
> default in most applications.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to