Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EE0EE67A4 for ; Tue, 14 Jun 2011 19:57:28 +0000 (UTC) Received: (qmail 68956 invoked by uid 500); 14 Jun 2011 19:57:27 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 68867 invoked by uid 500); 14 Jun 2011 19:57:27 -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 68859 invoked by uid 99); 14 Jun 2011 19:57:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 19:57:27 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of saint.ack@gmail.com designates 209.85.161.41 as permitted sender) Received: from [209.85.161.41] (HELO mail-fx0-f41.google.com) (209.85.161.41) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 19:57:21 +0000 Received: by fxm18 with SMTP id 18so5692357fxm.14 for ; Tue, 14 Jun 2011 12:57:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=9u3CH8zvPcjLu8P9blv+/+M1+5Rxxh+5zv73rpwvNWg=; b=pneLXc8YpDoib9kCepZuybSA5poSdn6SpoimsI7yIkWJv8EhUsfttPYZuQUoudiiWD Zt2OloxEDgiACdR3bIScD2a1u5V+9xi9ZJa/lzNNkyempRXgBe3LMnGDLN3DJvjCd5R+ An8jK2vsGAII2eXi37/B7qxTLH6JefadljejE= 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=JGGwCXYNZwrGecQSZTSksM7hpqrUQJXX54UdRqsLSGWYf52M/SUsF9JHhIu8Dq4lG9 jPITeqoiEursbKx3TZLUGfI7AnCIUyJDgR0l7YOJ5qqRjgufilDkVxmHVI0Li/7dAi2g +ZvMk55KqqPgFyo/8LaMTZPGxkeon3qKIZ6Eg= MIME-Version: 1.0 Received: by 10.223.98.141 with SMTP id q13mr1078768fan.96.1308081421460; Tue, 14 Jun 2011 12:57:01 -0700 (PDT) Sender: saint.ack@gmail.com Received: by 10.223.147.207 with HTTP; Tue, 14 Jun 2011 12:57:01 -0700 (PDT) In-Reply-To: References: Date: Tue, 14 Jun 2011 12:57:01 -0700 X-Google-Sender-Auth: 5SIPHGSzyOOCkTMLnREnixkcAC4 Message-ID: Subject: Re: Hbase Table Size From: Stack To: user@hbase.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org You mean: $HADOOP_HOME/bin/hadoop fs -du -s -h /HBASE_ROOT_DIR/TABLE_NAME ? St.Ack On Tue, Jun 14, 2011 at 12:45 PM, Shuja Rehman wrot= e: > can u tell me the exact commands to see the e.g table1 complete size? > currently i am looking at the web interface of hdfs and calculating the s= ize > from there. > Thanks > > On Tue, Jun 14, 2011 at 11:51 PM, Stack wrote: > >> On Tue, Jun 14, 2011 at 2:26 AM, Shuja Rehman >> wrote: >> > Can anyone let me know how to get the size of complete table and w.r.t >> > region servers? >> > >> > e.g >> > Table 1 Total Size =3D 100MB >> > Table1 RegionServer1 Size =3D30 MB >> > Table 1 RegionServer2 Size =3D 70 MB >> > >> >> You mean du -sh on the hbase directory in hdfs? =A0You can do it per >> table and even by region. =A0This will give you the data size stored >> (replicated). =A0You seem to have figured how to do that? >> >> St.Ack >> > > > > -- > Regards > Shuja-ur-Rehman Baig > >