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 E5A33106AB for ; Wed, 28 Aug 2013 18:56:56 +0000 (UTC) Received: (qmail 92041 invoked by uid 500); 28 Aug 2013 18:56:55 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 91936 invoked by uid 500); 28 Aug 2013 18:56:55 -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 91359 invoked by uid 99); 28 Aug 2013 18:56:53 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Aug 2013 18:56:53 +0000 Date: Wed, 28 Aug 2013 18:56:53 +0000 (UTC) From: "Lars Hofhansl (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-9365) Optionally limit major compactions to off peak hours MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-9365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lars Hofhansl updated HBASE-9365: --------------------------------- Summary: Optionally limit major compactions to off peak hours (was: Limit major compactions to off peak hours) > Optionally limit major compactions to off peak hours > ---------------------------------------------------- > > Key: HBASE-9365 > URL: https://issues.apache.org/jira/browse/HBASE-9365 > Project: HBase > Issue Type: Bug > Reporter: Lars Hofhansl > > We already have off peak hours (where we set a more aggressive compaction ratio) and periodic major compactions. > It would be nice if we could limit this to off peak hours as well. > A major compaction can be triggered in three ways: > # a periodic chore checking every ~3h (10.000.000ms) by default > # a minor compaction promoted to major because the last major compaction was too long ago > # a minor compaction promoted to major (at the HStore level), because it touched all HFiles anyway > For case #1 and #2 we could could optionally return false from Store.isMajorCompaction(...) when we're not in the off peak window. Would have a new config option to enforce that only optionally. > In case #3 we're compacting all files anyway, so not need to interfere with that. > Thoughts? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira