http://hadoop.apache.org/common/docs/stable/file_system_shell.html#du

On Fri, Jul 1, 2011 at 12:02 AM, Shuja Rehman <[email protected]> wrote:
> 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 <[email protected]> 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 <[email protected]>
>> 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 <[email protected]> wrote:
>> >
>> >> On Tue, Jun 14, 2011 at 2:26 AM, Shuja Rehman <[email protected]>
>> >> 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>
>> >
>>
>
>
>
> --
> Regards
> Shuja-ur-Rehman Baig
> <http://pk.linkedin.com/in/shujamughal>
>



-- 
Best wishes
Gan, Xiyun

Reply via email to