hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stack <st...@duboce.net>
Subject Re: Hbase Table Size
Date Tue, 14 Jun 2011 19:57:01 GMT
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 <shujamughal@gmail.com> 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 <stack@duboce.net> wrote:
>
>> On Tue, Jun 14, 2011 at 2:26 AM, Shuja Rehman <shujamughal@gmail.com>
>> 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
> <http://pk.linkedin.com/in/shujamughal>
>

Mime
View raw message