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 may fluctuate depending on when major
> compaction kicks in.
>
>
> FYI
>
> On Wed, Aug 22, 2018 at 11:53 AM Ankit Singhal 
> 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 
> 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.
> > >
> >
>


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 
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  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.
> >
>


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 through each regionserver and at client
select max out of all results)

On Wed, Aug 22, 2018 at 11:28 AM Antonio Si  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.
>


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.


Re: Pictures, Videos and Slides for HBaseConAsia2018

2018-08-22 Thread Chetan Khatri
Thanks Yu Li and Team.

On Wed 22 Aug, 2018, 4:00 PM Allan Yang,  wrote:

> Great work! Thanks, Yu Li!
> Best Regards
> Allan Yang
>
>
> Yu Li  于2018年8月22日周三 下午6:03写道:
>
> > Hi all,
> >
> > HBaseConAsia2018 is successfully held on Aug. 17th in Beijing, China and
> > please following below links for a quick review:
> >
> > Pictures:
> > https://drive.google.com/drive/folders/1eGuNI029a78s_BdH37VsSr4uOalyLi5O
> >
> > Slides and Video recording:
> > https://yq.aliyun.com/articles/626119
> >
> > Enjoy it and let's expect the next year!
> >
> > Yu - on behalf of HBaseConAsia2018 PC
> >
>


Re: HBaseConAsia2018 successfully held

2018-08-22 Thread Water Guo
Hi, 

I’d like to share my experience. The conference was a huge success. There are 
lots of people attended the meeting. My guess is 500+, but could be more. 
Location is very good, 3 minutes walk from the subway. It was held at a very 
nice hotel. There are spacey hallway, cafeteria and restaurant in the same 
building. It is very comfortable for people who share common interest to chat 
in private. Every step of the meeting was sharply on time. There are three 
tracks - core, ecosystem and application. I like how the tracks are divided. 
Organizer did a very good job making all this happen. Kudos to the folks from 
Alibaba, as well as the volunteers from the other companies. It is not easy. 
There are tons of hard work behind the scene I bet. 

But the audience need to improve tho. They need ask more questions. :)

water



Re: Pictures, Videos and Slides for HBaseConAsia2018

2018-08-22 Thread Allan Yang
Great work! Thanks, Yu Li!
Best Regards
Allan Yang


Yu Li  于2018年8月22日周三 下午6:03写道:

> Hi all,
>
> HBaseConAsia2018 is successfully held on Aug. 17th in Beijing, China and
> please following below links for a quick review:
>
> Pictures:
> https://drive.google.com/drive/folders/1eGuNI029a78s_BdH37VsSr4uOalyLi5O
>
> Slides and Video recording:
> https://yq.aliyun.com/articles/626119
>
> Enjoy it and let's expect the next year!
>
> Yu - on behalf of HBaseConAsia2018 PC
>


Pictures, Videos and Slides for HBaseConAsia2018

2018-08-22 Thread Yu Li
Hi all,

HBaseConAsia2018 is successfully held on Aug. 17th in Beijing, China and
please following below links for a quick review:

Pictures:
https://drive.google.com/drive/folders/1eGuNI029a78s_BdH37VsSr4uOalyLi5O

Slides and Video recording:
https://yq.aliyun.com/articles/626119

Enjoy it and let's expect the next year!

Yu - on behalf of HBaseConAsia2018 PC