Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@locus.apache.org Received: (qmail 41307 invoked from network); 12 Aug 2008 02:07:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Aug 2008 02:07:05 -0000 Received: (qmail 23013 invoked by uid 500); 12 Aug 2008 02:07:04 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 22997 invoked by uid 500); 12 Aug 2008 02:07:04 -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 22986 invoked by uid 99); 12 Aug 2008 02:07:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Aug 2008 19:07:04 -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; Tue, 12 Aug 2008 02:06:16 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4F92C234C1A5 for ; Mon, 11 Aug 2008 19:06:44 -0700 (PDT) Message-ID: <1979193876.1218506804325.JavaMail.jira@brutus> Date: Mon, 11 Aug 2008 19:06:44 -0700 (PDT) From: "Billy Pearson (JIRA)" To: hbase-dev@hadoop.apache.org Subject: [jira] Updated: (HBASE-812) Compaction needs little better skip algo In-Reply-To: <647738466.1218380984910.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-812?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Billy Pearson updated HBASE-812: -------------------------------- Attachment: 812v2.patch > Compaction needs little better skip algo > ---------------------------------------- > > Key: HBASE-812 > URL: https://issues.apache.org/jira/browse/HBASE-812 > Project: Hadoop HBase > Issue Type: Bug > Components: regionserver > Affects Versions: 0.2.0, 0.3.0 > Reporter: Billy Pearson > Priority: Critical > Fix For: 0.2.1, 0.3.0 > > Attachments: 812.patch.txt, 812v2.patch > > > Looking at this section of one of my compaction's we have 3 files to compact the new algo is working great in my test but I see this below often we are skipping 2 out of the 3 files and compacting 1 file. 1 file is kind of a wast might as well just copy the file my suggestion is if there is only 1 file left after the new algo skips then just go on to the next column and skip the last file also. This will help improve compaction times a little more. > {code} > 2008-08-10 10:00:45,310 DEBUG org.apache.hadoop.hbase.regionserver.HStore: Compaction size of 1339600874/size: 4.6m, skipped 2, 4851776 > 2008-08-10 10:00:45,438 DEBUG org.apache.hadoop.hbase.regionserver.HStore: started compaction of 1 files into /hbase/webdata/compaction.dir/1339600874/size/mapfiles/8653208152776334891 > 2008-08-10 10:00:46,838 DEBUG org.apache.hadoop.hbase.regionserver.HStore: moving /hbase/webdata/compaction.dir/1339600874/size/mapfiles/8653208152776334891 to /hbase/webdata/1339600874/size/mapfiles/7539342470259528578 > 2008-08-10 10:00:47,166 DEBUG org.apache.hadoop.hbase.regionserver.HStore: Completed compaction of 1339600874/size store size is 4.6m > {code} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.