Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@locus.apache.org Received: (qmail 6563 invoked from network); 29 Aug 2008 15:39:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Aug 2008 15:39:44 -0000 Received: (qmail 37256 invoked by uid 500); 29 Aug 2008 15:39:33 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 37186 invoked by uid 500); 29 Aug 2008 15:39:33 -0000 Mailing-List: contact hbase-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hbase-dev@hadoop.apache.org Delivered-To: mailing list hbase-dev@hadoop.apache.org Received: (qmail 37154 invoked by uid 99); 29 Aug 2008 15:39:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Aug 2008 08:39:33 -0700 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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Aug 2008 15:38:43 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 70E4F234C1C2 for ; Fri, 29 Aug 2008 08:38:44 -0700 (PDT) Message-ID: <2146143034.1220024324461.JavaMail.jira@brutus> Date: Fri, 29 Aug 2008 08:38:44 -0700 (PDT) From: "stack (JIRA)" To: hbase-dev@hadoop.apache.org Subject: [jira] Commented: (HBASE-834) Upper bound on files we compact at any one time In-Reply-To: <1082100169.1218843584226.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12627015#action_12627015 ] stack commented on HBASE-834: ----------------------------- Just what the doctor ordered. I agree w/ your expiration reasoning. Let me do some testing. Will get back to you. > Upper bound on files we compact at any one time > ----------------------------------------------- > > Key: HBASE-834 > URL: https://issues.apache.org/jira/browse/HBASE-834 > Project: Hadoop HBase > Issue Type: Improvement > Affects Versions: 0.2.1, 0.18.0 > Reporter: stack > Assignee: Billy Pearson > Priority: Blocker > Fix For: 0.2.1, 0.18.0 > > Attachments: 834-0.2.1-patch.txt, 834-0.2.1-patchv2.txt, 834-0.2.1-patchv3.txt, 834-patch.txt > > > From Billy in HBASE-64, which we closed because it got pulled all over the place: > {code} > Currently we do compaction on a region when the hbase.hstore.compactionThreshold is reached - default 3 > I thank we should configure a max number of mapfiles to compact at one time simulator to doing a minor compaction in bigtable. This keep compaction's form getting tied up in one region to long letting other regions get way to many memcache flushes making compaction take longer and longer for each region > If we did that when a regions updates start to slack off the max number will eventuly include all mapfiles causeing a major compaction on that region. Unlike big table this would leave the master out of the process and letting the region server handle the major compaction when it has time. > When doing a minor compaction on a few files I thank we should compact the newest mapfiles first leave the larger/older ones for when we have low updates to a region. > {code} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.