Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # user >> how to use API to statistic how many message has been store in the table in hbase


Copy link to this message
-
答复: how to use API to statistic how many message has been store in the table in hbase
Meanwhile , I see , the AggregationClient#rowCount() is to statistic the
Number of given Family and given col in a table, and it scan the related
region to satistic the Number, that is, some colume can be null, is it,

But If I want to know the row number of table, no matter have data there, I
just want to know the row number of the whole table, and it is a large
table,
And which API should I use, and how to use it,

Could you help me

Thank you
---------------------
Tian Guanhua

-----邮件原件-----
发件人: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] 代表 Anoop
Sam John
发送时间: 2012年12月27日 13:31
收件人: [EMAIL PROTECTED]
主题: RE: how to use API to statistic how many message has been store in the
table in hbase

So you want to know the no# of rows in a table?
Have a look at AggregationClient#rowCount()

-Anoop-
________________________________________
From: tgh [[EMAIL PROTECTED]]
Sent: Thursday, December 27, 2012 7:51 AM
To: [EMAIL PROTECTED]
Subject: how to use API to statistic how many message has been store in the
table in hbase

Hi
        I try to use hbaseAPI to store data, and I want to get the number of
the message stored in the table in HBase,
        how to use API to statistic how many message has been store in the
table in hbase
        What API can do this,
        Could you help me
Thank you
---------------------
Tian Guanhua
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB