Hi Sujee, How much data do you have in your table? Keeping a count in memory has it's obvious problems but if it's a small table then I guess it would work...
How fast do you need to get this information? Maybe a map reduce job would be a better way of doing it? Cheers, Dan On 14 February 2010 19:56, Sujee Maniyam <su...@sujee.net> wrote: > HI > > I have a table with rowkey is composed of userid + timestamp. I need > to figure out 'top-100' users. > > One approach is running a scanner and keeping a hashmap of user-count in > memory. > > Wondering if there is an hbase-trick I could use? > > thanks > Sujee >