hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomasz Bem <tom...@gmail.com>
Subject Re: find size of each table in the cluster
Date Thu, 31 Mar 2016 05:38:56 GMT
Hi,

this is standard convention for hortonworks distribution. First Three 
are HBase version, the last two are HDP version.

Cheers
Tomasz Bem.

On 2016-03-31 06:27, Ted Yu wrote:
> bq. hbase version is 1.1.1.2.3
>
> I don't think there was ever such a release - there should be only 3 dots.
>
> bq. /hbase is the default storage location for tables in hdfs
>
> the root dir is given by hbase.rootdir config parameter.
>
> Here is sample listing:
>
> http://pastebin.com/ekF4tsYn
>
> Under data, you would see:
>
> drwxr-xr-x   - hbase hdfs          0 2016-03-22 20:26
> /apps/hbase/data/data/default
> drwxr-xr-x   - hbase hdfs          0 2016-03-14 19:13
> /apps/hbase/data/data/hbase
>
> hbase is system namespace.
>
> Under default (or your own namespace), you would get table dir. Here is a
> sample:
>
> drwxr-xr-x   - hbase hdfs          0 2016-03-22 20:26
> /apps/hbase/data/data/default/elog_pn_split
>
> On Wed, Mar 30, 2016 at 7:26 PM, Stephen Durfey <sjdurfey@gmail.com> wrote:
>
>> I believe the easiest way would be to run 'hadoop dfs -du -h /hbase'. I
>> believe /hbase is the default storage location for tables in hdfs. The size
>> will be either compressed or uncompressed, depending upon if compression is
>> enabled.
>>
>>
>>
>>
>>
>>
>> On Wed, Mar 30, 2016 at 6:32 PM -0700, "marjana" <mivkovic@us.ibm.com>
>> wrote:
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> Hello,
>> I am new to hBase, so sorry if I am talking nonsense.
>>
>> I am trying to figure out a way how to find the total size of each table in
>> my hBase.
>> I have looked into hbase shell commands. There's "status 'detailed'", that
>> shows storefileSizeMB. If I were to add all of these grouped by tablename,
>> would that be the correct way to show MB used per table?
>> Is there any other (easier/cleaner) way?
>> hbase version is 1.1.1.2.3, HDFS: 2.7.1
>> Thanks
>> Marjana
>>
>>
>>
>> --
>> View this message in context:
>> http://apache-hbase.679495.n3.nabble.com/find-size-of-each-table-in-the-cluster-tp4078899.html
>> Sent from the HBase User mailing list archive at Nabble.com.
>>
>>
>>
>>
>>
>>


Mime
View raw message