Return-Path: Delivered-To: apmail-hbase-user-archive@www.apache.org Received: (qmail 50072 invoked from network); 28 Jul 2010 15:36:51 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 28 Jul 2010 15:36:51 -0000 Received: (qmail 31180 invoked by uid 500); 28 Jul 2010 15:36:50 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 31128 invoked by uid 500); 28 Jul 2010 15:36:50 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 31120 invoked by uid 99); 28 Jul 2010 15:36:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Jul 2010 15:36:50 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jdcryans@gmail.com designates 209.85.216.41 as permitted sender) Received: from [209.85.216.41] (HELO mail-qw0-f41.google.com) (209.85.216.41) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Jul 2010 15:36:44 +0000 Received: by qwk4 with SMTP id 4so1201836qwk.14 for ; Wed, 28 Jul 2010 08:36:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; bh=WmFeAfRSIsjOHF3ZviPWsRromJeEhr5HBM6+Hah2sXY=; b=VD2d1XJPM+UzkbyTSiXFW6H2bm0WU9sSeEhFZoq2LweSJ+P0MEfUVcE/FJ7VQC24ww 8QwZkY7VpBc+MTrL7psLte5kiX9h18NLm3S9J277Ld7PqlM0jEAhquw+xzutisYyVRAg XZ0+xiY7Xn2FNSxH0SnQEghvm9pTVh3uMRyKg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=eDE6jU0Uuhppqmdj+kkTdeuXz/XY3KwxfxIWKmh6Di33SKBfAeAoRcdKI8wmW7/tdd m+nzqNysRxgHp8lCvukZWMo0cnMkSq1d5cIZd99J2MR7dJ+iM+ZTFDLEHl84oR5+stL6 btSR2PXjE8n35oXuN6sRP4L3kUZhcFh0Gsr4Y= MIME-Version: 1.0 Received: by 10.224.78.32 with SMTP id i32mr7680107qak.42.1280331382920; Wed, 28 Jul 2010 08:36:22 -0700 (PDT) Sender: jdcryans@gmail.com Received: by 10.229.78.217 with HTTP; Wed, 28 Jul 2010 08:36:22 -0700 (PDT) In-Reply-To: <95CC9FDB-2489-4A81-9091-63868E4FE05F@ucsfcti.org> References: <1D93502E-0A41-44DC-B5A5-43A74FE30497@ucsfcti.org> <95CC9FDB-2489-4A81-9091-63868E4FE05F@ucsfcti.org> Date: Wed, 28 Jul 2010 08:36:22 -0700 X-Google-Sender-Auth: tN26wZTLSHHlnO2UlyiqW3M1RV4 Message-ID: Subject: Re: HBase minimum block size for sequential access From: Jean-Daniel Cryans To: user@hbase.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Forced actions are currently async, and there's no feedback (this is currently being worked on for 0.90). I personnally look at the region servers' web UI metrics, when the compaction queue is at 0 on most machines then you know it's done. Ganglia makes this very easy as you can graph that for all the machines at the same time. Compacting files involves rewriting them (into new files), so it is expected that the DFS usage grows during that time. Also files on HDFS are put in a "garbage can" and are only really deleted later. J-D On Wed, Jul 28, 2010 at 8:22 AM, Andrew Nguyen wrote: > So, I ran the following command in the shells: > > alter 'tablename', {NAME=3D>'cfname', BLOCKSIZE=3D>1045876} > major_compact 'tablename' > > How do I know the major compact completed successfully? =A0I saw that the= number of regions has grown quite a bit but I'm not quite sure to know whe= n it's all finished so that I can start the benchmarking. =A0Another thing = that I noticed is after initiating the above, my DFS usage has continued to= grow. =A0I had 800g total, and 300g used. =A0After initiating the compacti= on, I am now at 614M free... =A0Is this expected? > > Thanks! > > On Jul 27, 2010, at 10:13 AM, Jean-Daniel Cryans wrote: > >> After altering the table, issue a major compaction on it and >> everything will be re-written with the new block size. > > > >