如何从 HBase shell 获取特定 HBase 表的大小?
最佳答案
数据存在于目录中的 hdfs 上
hdfs dfs -ls /hbase/data/
HDFS 表的大小
hdfs dfs -du -h /hbase/data/<UserName>
用于查找特定表中的行数
hbase org.apache.hadoop.hbase.mapreduce.RowCounter 'tableName'
counter can be verified from
org.apache.hadoop.hbase.mapreduce.RowCounter$RowCounterMapper$Counters
OR counter from the Hbase shell
hbase(main):001:0> count 'tablename'
关于linux - HBase shell命令获取特定表的大小,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42267991/