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 0FB436961 for ; Thu, 30 Jun 2011 16:22:17 +0000 (UTC) Received: (qmail 28113 invoked by uid 500); 30 Jun 2011 16:22:15 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 28063 invoked by uid 500); 30 Jun 2011 16:22:15 -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 28055 invoked by uid 99); 30 Jun 2011 16:22:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Jun 2011 16:22:14 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of shujamughal@gmail.com designates 209.85.212.41 as permitted sender) Received: from [209.85.212.41] (HELO mail-vw0-f41.google.com) (209.85.212.41) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Jun 2011 16:22:10 +0000 Received: by vws4 with SMTP id 4so2559374vws.14 for ; Thu, 30 Jun 2011 09:21:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=jkFUQwt7C4en11xZJJy/PA7s9L/gy3fxd8svvV4aCFg=; b=Ccjyn7uqsZXHvm51+7bDZ4krOMmUjJEzhFlw1rJ4flr+EI5RE8zGxHKNElwMXPMbEd kgyYyVaeqA+Xsc08L8ih5E4GqoysVcPgz7ny0MUohnzj7EBxDMXiZBygPpsg90e48NlU hrhlR3n1rfxkGlpOuP8dh6nbRpp4f1MyqxAys= MIME-Version: 1.0 Received: by 10.52.25.203 with SMTP id e11mr2499123vdg.201.1309449771428; Thu, 30 Jun 2011 09:02:51 -0700 (PDT) Received: by 10.52.182.231 with HTTP; Thu, 30 Jun 2011 09:02:51 -0700 (PDT) In-Reply-To: References: Date: Thu, 30 Jun 2011 21:02:51 +0500 Message-ID: Subject: Re: Hbase Table Size From: Shuja Rehman To: user@hbase.apache.org Content-Type: multipart/alternative; boundary=20cf307810b27a2ac604a6f00855 --20cf307810b27a2ac604a6f00855 Content-Type: text/plain; charset=ISO-8859-1 what does -s , -h means? by executing this command, i m getting such kind o results .... 2649 hdfs://ec2-184-73-12-169.compute-1.amazonaws.com/hbase/table1 7346 hdfs://ec2-184-73-12-169.compute-1.amazonaws.com/hbase/table2 0 hdfs://ec2-184-73-12-169.compute-1.amazonaws.com/hbase/table3 139866 hdfs://ec2-184-73-12-169.compute-1.amazonaws.com/hbase/table4 ..... so 2649 means size 2649 KB or MB or GB or what else? Thanks On Wed, Jun 15, 2011 at 12:57 AM, Stack wrote: > 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 > wrote: > > 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 > size > > 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 = 100MB > >> > Table1 RegionServer1 Size =30 MB > >> > Table 1 RegionServer2 Size = 70 MB > >> > > >> > >> You mean du -sh on the hbase directory in hdfs? You can do it per > >> table and even by region. This will give you the data size stored > >> (replicated). You seem to have figured how to do that? > >> > >> St.Ack > >> > > > > > > > > -- > > Regards > > Shuja-ur-Rehman Baig > > > > > -- Regards Shuja-ur-Rehman Baig --20cf307810b27a2ac604a6f00855--