You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Doug Meil (Commented) (JIRA)" <ji...@apache.org> on 2012/01/11 23:06:40 UTC

[jira] [Commented] (HBASE-5129) book is inconsistent regarding disabling - major compaction

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

Doug Meil commented on HBASE-5129:
----------------------------------

Thanks for the catch Mikael!
                
> book is inconsistent regarding disabling - major compaction
> -----------------------------------------------------------
>
>                 Key: HBASE-5129
>                 URL: https://issues.apache.org/jira/browse/HBASE-5129
>             Project: HBase
>          Issue Type: Bug
>          Components: documentation
>    Affects Versions: 0.90.1
>            Reporter: Mikael Sitruk
>            Assignee: Doug Meil
>            Priority: Minor
>         Attachments: configuration_HBASE_5129.xml.patch
>
>
> It seems that the book has some inconsistencies regarding the way to disable major compactions
> According to the book in chapter 2.6.1.1. HBase Default Configuration
> hbase.hregion.majorcompaction - The time (in miliseconds) between 'major' compactions of all HStoreFiles in a region. Default: 1 day. Set to 0 to disable automated major compactions.
> Default: 86400000 (http://hbase.apache.org/book.html#hbase_default_configurations)
> According to the book at chapter 2.8.2.8. Managed Compactions
> "A common administrative technique is to manage major compactions manually, rather than letting HBase do it. By default, HConstants.MAJOR_COMPACTION_PERIOD is one day and major compactions may kick in when you least desire it - especially on a busy system. To "turn off" automatic major compactions set the value to Long.MAX_VALUE."
> According to the code org.apache.hadoop.hbase.regionserver.Store.java, "0" is the right answer. 
> (affect all documentation from 0.90.1)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira