Is there any command that I can learn the size of a table at Hbase? -
is there command can learn size of table @ hbase? use hbase hold crawl data nutch.
if running hbase on hadoop following command can used
hadoop fs -du [path]
[path]
has replaced value of hbase.rootdir
in hbase-site.xml
the output like:
$ hadoop fs -du /hbase
4056 hdfs://127.0.0.1:9000/hbase/-root- 22307 hdfs://127.0.0.1:9000/hbase/.meta. 0 hdfs://127.0.0.1:9000/hbase/.corrupt 0 hdfs://127.0.0.1:9000/hbase/.logs 0 hdfs://127.0.0.1:9000/hbase/.oldlogs 1716 hdfs://127.0.0.1:9000/hbase/table1 1472 hdfs://127.0.0.1:9000/hbase/table2 1498 hdfs://127.0.0.1:9000/hbase/table3 1320 hdfs://127.0.0.1:9000/hbase/sampletable
the size displayed here in bytes.
if running hbase on local filesystem (os filesystem) can use normal du
command.
this give rough idea size of table in hbase.
Comments
Post a Comment