hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kun yan <yankunhad...@gmail.com>
Subject Re: HBase use how much hdfs storage space
Date Wed, 11 Sep 2013 13:54:06 GMT
Yes, thank you for reminding me


2013/9/11 Jean-Marc Spaggiari <jean-marc@spaggiari.org>

> Hi Kun,
>
> That will give you the HFile information only. One region can have multiple
> HFiles. But you can also call this tool giving it the RegionName and not
> the HFile. But at the end, that will still give you only the region size.
> If you want to have the table size, then you will need to loop over all the
> regions.
>
> JM
>
>
> 2013/9/11 kun yan <yankunhadoop@gmail.com>
>
> > Jean-Marc Thank you for the answer is always helpful to me I also learned
> > that can be viewed through the following hfile on a region
> > $ ./bin/hbase org.apache.hadoop.hbase.io.hfile.HFile
> >
> >
> >
> > 2013/9/11 Jean-Marc Spaggiari <jean-marc@spaggiari.org>
> >
> > > Hi Kun,
> > >
> > > If you already have your table, then you can "simply" use the hadoop
> > > command line tool to get this information.
> > >
> > > As en example:
> > > $ bin/hadoop fs -du /hbase/
> > > Found 21 items
> > > 4811          hdfs://node3:9000/hbase/-ROOT-
> > > 1807799       hdfs://node3:9000/hbase/.META.
> > > 0             hdfs://node3:9000/hbase/.archive
> > > 0             hdfs://node3:9000/hbase/.corrupt
> > > 0             hdfs://node3:9000/hbase/.hbck
> > > 0             hdfs://node3:9000/hbase/.logs
> > > 0             hdfs://node3:9000/hbase/.oldlogs
> > > 0             hdfs://node3:9000/hbase/.tmp
> > > 45493173      hdfs://node3:9000/hbase/dns
> > > 38            hdfs://node3:9000/hbase/hbase.id
> > > 3             hdfs://node3:9000/hbase/hbase.version
> > > 254783827985  hdfs://node3:9000/hbase/page
> > > 134416542     hdfs://node3:9000/hbase/page_proposed
> > > 223546827963  hdfs://node3:9000/hbase/work_proposed
> > > 276434748     hdfs://node3:9000/hbase/work_sent
> > >
> > > As you can see, "page" is my biggest table with 237GB.
> > >
> > > JM
> > >
> > >
> > > 2013/9/11 kun yan <yankunhadoop@gmail.com>
> > >
> > > > Hi all How can I know HBase in a table, the table using HDFS storage
> > > > space? What
> > > > is the command or in the HBase web page I can see?(version 0.94
> hbase)
> > > >
> > > >
> > > > --
> > > >
> > > > In the Hadoop world, I am just a novice, explore the entire Hadoop
> > > > ecosystem, I hope one day I can contribute their own code
> > > >
> > > > YanBit
> > > > yankunhadoop@gmail.com
> > > >
> > >
> >
> >
> >
> > --
> >
> > In the Hadoop world, I am just a novice, explore the entire Hadoop
> > ecosystem, I hope one day I can contribute their own code
> >
> > YanBit
> > yankunhadoop@gmail.com
> >
>



-- 

In the Hadoop world, I am just a novice, explore the entire Hadoop
ecosystem, I hope one day I can contribute their own code

YanBit
yankunhadoop@gmail.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message