hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stack <st...@duboce.net>
Subject Re: Quick way to find the number of rows in a Table
Date Fri, 03 Dec 2010 00:52:09 GMT
What Michael said.

Run the rowcounter M/R job:


./bin/hadoop jar hbase.jar

... to learn more, read


On Thu, Dec 2, 2010 at 4:10 PM, Michael Segel <michael_segel@hotmail.com> wrote:
> The quickest way is a m/r job.
>> From: phaidinyak@local.com
>> To: user@hbase.apache.org
>> Date: Thu, 2 Dec 2010 16:02:44 -0800
>> Subject: Quick way to find the number of rows in a Table
>> Hi
>>    I am going to have a process running that will add rows to a table. The row
id is just a counter of the number of rows inserted. Is there a quick way to programmatically
find out the number of rows in a table so when I start adding rows the count isn't disrupted?
Also, is there a better way to assign a row Id?
>> Thanks
>> -Pete

View raw message