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 <[email protected]>
wrote:

> 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 through each regionserver and at client
> select max out of all results)
>
> On Wed, Aug 22, 2018 at 11:28 AM Antonio Si <[email protected]> wrote:
>
> > 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.
> >
>

Reply via email to