Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # user >> rowcount in a specified timerange

Copy link to this message
Re: rowcount in a specified timerange
Hi, Hansi

Take look at
You can modified it and and scan.setTimeRange(long minStamp, long maxStamp)
that will give you option to count rows in specific time range.

Anther option is to use hbase shell and scan with:
hbase> scan 't1', {COLUMNS => 'c1', TIMERANGE => [1303668804, 1303668904]}
which will also return row count


On Tue, Apr 29, 2014 at 9:53 AM, Hansi Klose <[EMAIL PROTECTED]> wrote: