Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B7F1C9B4A for ; Thu, 5 Jan 2012 12:36:34 +0000 (UTC) Received: (qmail 55631 invoked by uid 500); 5 Jan 2012 12:36:30 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 54376 invoked by uid 500); 5 Jan 2012 12:34:43 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 54305 invoked by uid 99); 5 Jan 2012 12:34:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jan 2012 12:34:03 +0000 X-ASF-Spam-Status: No, hits=-2001.6 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jan 2012 12:34:00 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 42F8C139A78 for ; Thu, 5 Jan 2012 12:33:39 +0000 (UTC) Date: Thu, 5 Jan 2012 12:33:39 +0000 (UTC) From: "Mikael Sitruk (Created) (JIRA)" To: issues@hbase.apache.org Message-ID: <1741332179.8781.1325766819275.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (HBASE-5129) book is inconsistent regarding disabling - major compaction MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org 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 Priority: Minor 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