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

stack commented on HBASE-938:
-----------------------------

As is, if we did a major compaction at the start of the week and then if no 
updates during the whole week, at the end of the next week, we'll rewrite an 
already major compacted file.  I suppose even if no updates, ttls could have 
expired. Otherwise, Its a waste of CPU and network bandwidth.

You think we should up the major compaction time default to be a week?

> major compaction period is not checked periodically
> ---------------------------------------------------
>
>                 Key: HBASE-938
>                 URL: https://issues.apache.org/jira/browse/HBASE-938
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: regionserver
>    Affects Versions: 0.18.0, 0.18.1
>         Environment: HBase 0.18 branch (should be RC1) + Hadoop 0.18 branch
>            Reporter: Rong-En Fan
>            Assignee: stack
>            Priority: Critical
>             Fix For: 0.19.0
>
>         Attachments: 938.patch, major.patch
>
>
> The major compaction period, hbase.hregion.majorcompaction, is not checked 
> periodically. Currently, we only request major compaction when the region is 
> open or split at which point we check whether the major compaction period is 
> due.

-- 
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