You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2008/07/21 20:15:31 UTC

[jira] Commented: (HBASE-755) Add a method to retrieve the size and other information of a table

    [ https://issues.apache.org/jira/browse/HBASE-755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615345#action_12615345 ] 

stack commented on HBASE-755:
-----------------------------

You probably already know this but, 
{code}
$HADOOP_HOME/bin/hadoop fs -dus /HBASE.ROOTDIR
{code}
will give you the size an instance of hbase occupies on the filesytem (or '$HADOOP_HOME/bin/hadoop fs -dus /HBASE.ROOTDIR/TABLENAME' if you want size of a particular table).

You think we should show this in the metadata info in the UI?  The section which lists hbase version, hbase.rootdir, etc?

Regards number of splits, where would you like to see this?  Is it important? You can do a grep/count over the master logs.  What else would you like to see other than splits?


> Add a method to retrieve the size and other information of a table
> ------------------------------------------------------------------
>
>                 Key: HBASE-755
>                 URL: https://issues.apache.org/jira/browse/HBASE-755
>             Project: Hadoop HBase
>          Issue Type: New Feature
>          Components: client
>    Affects Versions: 0.1.3
>            Reporter: Daniel Yu
>
> it would be good to have a method to obtain the size of a table - the total bytes of all HStore files in HDFS( hdfs://xxx/table name/column name/xxx/data), 
> and maybe other information like the number of splits etc.
> i think it's a simple but (probably) important aspect to evaluate a table.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.