Return-Path: Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: (qmail 64108 invoked from network); 8 Dec 2010 22:56:25 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 8 Dec 2010 22:56:25 -0000 Received: (qmail 88909 invoked by uid 500); 8 Dec 2010 22:56:25 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 88884 invoked by uid 500); 8 Dec 2010 22:56:25 -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 88876 invoked by uid 99); 8 Dec 2010 22:56:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Dec 2010 22:56:25 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Dec 2010 22:56:23 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oB8Mu1qI000138 for ; Wed, 8 Dec 2010 22:56:01 GMT Message-ID: <1966797.26201291848961635.JavaMail.jira@thor> Date: Wed, 8 Dec 2010 17:56:01 -0500 (EST) From: "Jonathan Gray (JIRA)" To: issues@hbase.apache.org Subject: [jira] Commented: (HBASE-3320) Compaction parameter minCompactSize should be configurable In-Reply-To: <13405078.23061291840022145.JavaMail.jira@thor> 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 [ https://issues.apache.org/jira/browse/HBASE-3320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12969542#action_12969542 ] Jonathan Gray commented on HBASE-3320: -------------------------------------- size, yes. this patch just brings in configurable parameter that's already committed in latest nicolas compaction changes on trunk. > Compaction parameter minCompactSize should be configurable > ---------------------------------------------------------- > > Key: HBASE-3320 > URL: https://issues.apache.org/jira/browse/HBASE-3320 > Project: HBase > Issue Type: Improvement > Affects Versions: 0.90.0, 0.92.0 > Reporter: Jonathan Gray > Assignee: Jonathan Gray > Priority: Critical > Fix For: 0.90.0, 0.92.0 > > Attachments: HBASE-3320-v1.patch, HBASE-3320-v2.patch > > > In the new compaction algorithm, there is a minCompactSize parameter which is used to include files in selection if they are under this size. > Currently this is: > {noformat} > this.minCompactSize = this.region.memstoreFlushSize * 3 / 2; // +50% pad > {noformat} > In a cluster, we had high setting of flush size but were doing frequent small flushes because of HLog eviction. This led to pathological cases in compaction file selection that this algorithm is trying to avoid in the first place. > Should make this configurable but the existing value should be fine for default in most applications. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.