Re: how to get rowkey with largest number of versions

2018-08-22 Thread Antonio Si
Thanks for all the info. I will give it a try. On Wed, Aug 22, 2018 at 12:13 PM, Ted Yu wrote: > Antonio: > Please take a look at CellCounter under hbase-mapreduce module which may be > of use to you: > > * 6. Total number of versions of each qualifier. > > > Please note that the max versions m

Re: how to get rowkey with largest number of versions

2018-08-22 Thread Ted Yu
Antonio: Please take a look at CellCounter under hbase-mapreduce module which may be of use to you: * 6. Total number of versions of each qualifier. Please note that the max versions may fluctuate depending on when major compaction kicks in. FYI On Wed, Aug 22, 2018 at 11:53 AM Ankit Singhal

Re: how to get rowkey with largest number of versions

2018-08-22 Thread Ankit Singhal
I don't think so if there is any direct way. You may need to do a raw scan of a full table and count the number of versions of a column returned for each row to calculate the max. (you can optimize this with custom coprocessor by returning a single row key having the largest versions of a column th

how to get rowkey with largest number of versions

2018-08-22 Thread Antonio Si
Hi, I am new to hbase. I am wondering how I could find out which rowkey has the largest number of versions in a column family. Any pointer would be very helpful. Thanks. Antonio.