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 D58BAFFEF for ; Tue, 9 Apr 2013 21:26:17 +0000 (UTC) Received: (qmail 18893 invoked by uid 500); 9 Apr 2013 21:26:17 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 18860 invoked by uid 500); 9 Apr 2013 21:26:17 -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 18850 invoked by uid 99); 9 Apr 2013 21:26:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Apr 2013 21:26:17 +0000 Date: Tue, 9 Apr 2013 21:26:17 +0000 (UTC) From: "Sergey Shelukhin (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-8299) ExploringCompactionPolicy can get stuck in rare cases. 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-8299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13627133#comment-13627133 ] Sergey Shelukhin commented on HBASE-8299: ----------------------------------------- The compaction is not only requested when it's necessary. There's periodic compaction checker, and there's compaction when region is opened. needsCompaction also doesn't check ratio iirc, so number of files would be enough to call compaction selection. It doesn't mean there must be selection. In such cases with one large file and a few new memstore flush files that are not yet by themselves within the ratio, there must be no compaction. If something calls selection non-stop when there's no reasonable selection to be made it's a different problem. > ExploringCompactionPolicy can get stuck in rare cases. > ------------------------------------------------------ > > Key: HBASE-8299 > URL: https://issues.apache.org/jira/browse/HBASE-8299 > Project: HBase > Issue Type: Bug > Affects Versions: 0.95.1 > Reporter: Elliott Clark > Assignee: Elliott Clark > Attachments: HBASE-8299-0.patch > > > If the files are very oddly sized then it's possible that ExploringCompactionPolicy can get stuck. -- 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