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 0731A181AD for ; Thu, 31 Dec 2015 02:31:55 +0000 (UTC) Received: (qmail 15549 invoked by uid 500); 31 Dec 2015 02:31:49 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 15501 invoked by uid 500); 31 Dec 2015 02:31:49 -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 15485 invoked by uid 99); 31 Dec 2015 02:31:49 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Dec 2015 02:31:49 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 89B6A2C14F9 for ; Thu, 31 Dec 2015 02:31:49 +0000 (UTC) Date: Thu, 31 Dec 2015 02:31:49 +0000 (UTC) From: "Ted Yu (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-15055) Major compaction is not triggered when both of TTL and hbase.hstore.compaction.max.size are set 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-15055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15075641#comment-15075641 ] Ted Yu commented on HBASE-15055: -------------------------------- {code} 139 if (cfTtl != HConstants.FOREVER && oldest > cfTtl) { {code} If there is only one file satisfying the above condition among all the candidates, major compaction would be performed. Is there more effective way to make major compaction pay off ? > Major compaction is not triggered when both of TTL and hbase.hstore.compaction.max.size are set > ----------------------------------------------------------------------------------------------- > > Key: HBASE-15055 > URL: https://issues.apache.org/jira/browse/HBASE-15055 > Project: HBase > Issue Type: Bug > Reporter: Eungsop Yoo > Priority: Minor > Attachments: HBASE-15055-v1.patch, HBASE-15055.patch > > > Some large files may be skipped by hbase.hstore.compaction.max.size in candidate selection. It causes skipping of major compaction. So the TTL expired records are still remained in the disks and keep consuming disks. > To resolve this issue, I suggest that to skip large files only if there is no TTL expired record. -- This message was sent by Atlassian JIRA (v6.3.4#6332)