You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by Lars George <la...@gmail.com> on 2016/06/19 16:36:44 UTC

MutableQuantiles

Hi,

As per https://issues.apache.org/jira/browse/HBASE-6409 we rolled our
own class. Is that still needed? Since 2012 lot's has changed and we
should have all in place to use the Hadoop supplied one?

Just curious.

Cheers,
Lars

Re: MutableQuantiles

Posted by Lars George <la...@gmail.com>.
Hi Elliott,

I was referring to MutableQuantiles vs MetricsMutableQuantiles. The
Histogram ones are cleaned up as you say and I saw. But what about the
former pair?

Lars

On Mon, Jun 20, 2016 at 7:13 PM, Elliott Clark <ec...@apache.org> wrote:
> MetricMutableHistogram and all ( The classes which were ports of hadoop's
> classes) have been removed. They are no longer used.  However the ones
> hadoop supplies were very slow so instead we use MutableHistogram.
>
> See:  HBASE-15222
>
> On Mon, Jun 20, 2016 at 5:19 AM, Lars George <la...@gmail.com> wrote:
>
>> BTW, I am looking at 1.2 branch, though here the Hadoop one does
>> exactly the same as what the HBase one does. Where do I see the
>> difference? Master looks the same too. Are you referring to the
>> histogram classes?
>>
>> On Mon, Jun 20, 2016 at 1:36 PM, Lars George <la...@gmail.com>
>> wrote:
>> > Ah thanks Andy. It seemed mostly a copy (with some internal
>> > modification). Now, where is that used at all?
>> >
>> > On Sun, Jun 19, 2016 at 7:06 PM, Andrew Purtell
>> > <an...@gmail.com> wrote:
>> >> We have additional functionality that the Hadoop supplied one does not,
>> importantly the ability to dump counts by latency bucket rather than
>> percentile measures at the moment. The former can be used to calculate
>> mathematically meaningful percentile measures over the whole fleet and over
>> longer timescales, the latter cannot.
>> >>
>> >>
>> >>> On Jun 19, 2016, at 9:36 AM, Lars George <la...@gmail.com>
>> wrote:
>> >>>
>> >>> Hi,
>> >>>
>> >>> As per https://issues.apache.org/jira/browse/HBASE-6409 we rolled our
>> >>> own class. Is that still needed? Since 2012 lot's has changed and we
>> >>> should have all in place to use the Hadoop supplied one?
>> >>>
>> >>> Just curious.
>> >>>
>> >>> Cheers,
>> >>> Lars
>>

Re: MutableQuantiles

Posted by Elliott Clark <ec...@apache.org>.
MetricMutableHistogram and all ( The classes which were ports of hadoop's
classes) have been removed. They are no longer used.  However the ones
hadoop supplies were very slow so instead we use MutableHistogram.

See:  HBASE-15222

On Mon, Jun 20, 2016 at 5:19 AM, Lars George <la...@gmail.com> wrote:

> BTW, I am looking at 1.2 branch, though here the Hadoop one does
> exactly the same as what the HBase one does. Where do I see the
> difference? Master looks the same too. Are you referring to the
> histogram classes?
>
> On Mon, Jun 20, 2016 at 1:36 PM, Lars George <la...@gmail.com>
> wrote:
> > Ah thanks Andy. It seemed mostly a copy (with some internal
> > modification). Now, where is that used at all?
> >
> > On Sun, Jun 19, 2016 at 7:06 PM, Andrew Purtell
> > <an...@gmail.com> wrote:
> >> We have additional functionality that the Hadoop supplied one does not,
> importantly the ability to dump counts by latency bucket rather than
> percentile measures at the moment. The former can be used to calculate
> mathematically meaningful percentile measures over the whole fleet and over
> longer timescales, the latter cannot.
> >>
> >>
> >>> On Jun 19, 2016, at 9:36 AM, Lars George <la...@gmail.com>
> wrote:
> >>>
> >>> Hi,
> >>>
> >>> As per https://issues.apache.org/jira/browse/HBASE-6409 we rolled our
> >>> own class. Is that still needed? Since 2012 lot's has changed and we
> >>> should have all in place to use the Hadoop supplied one?
> >>>
> >>> Just curious.
> >>>
> >>> Cheers,
> >>> Lars
>

Re: MutableQuantiles

Posted by Lars George <la...@gmail.com>.
BTW, I am looking at 1.2 branch, though here the Hadoop one does
exactly the same as what the HBase one does. Where do I see the
difference? Master looks the same too. Are you referring to the
histogram classes?

On Mon, Jun 20, 2016 at 1:36 PM, Lars George <la...@gmail.com> wrote:
> Ah thanks Andy. It seemed mostly a copy (with some internal
> modification). Now, where is that used at all?
>
> On Sun, Jun 19, 2016 at 7:06 PM, Andrew Purtell
> <an...@gmail.com> wrote:
>> We have additional functionality that the Hadoop supplied one does not, importantly the ability to dump counts by latency bucket rather than percentile measures at the moment. The former can be used to calculate mathematically meaningful percentile measures over the whole fleet and over longer timescales, the latter cannot.
>>
>>
>>> On Jun 19, 2016, at 9:36 AM, Lars George <la...@gmail.com> wrote:
>>>
>>> Hi,
>>>
>>> As per https://issues.apache.org/jira/browse/HBASE-6409 we rolled our
>>> own class. Is that still needed? Since 2012 lot's has changed and we
>>> should have all in place to use the Hadoop supplied one?
>>>
>>> Just curious.
>>>
>>> Cheers,
>>> Lars

Re: MutableQuantiles

Posted by Lars George <la...@gmail.com>.
Ah thanks Andy. It seemed mostly a copy (with some internal
modification). Now, where is that used at all?

On Sun, Jun 19, 2016 at 7:06 PM, Andrew Purtell
<an...@gmail.com> wrote:
> We have additional functionality that the Hadoop supplied one does not, importantly the ability to dump counts by latency bucket rather than percentile measures at the moment. The former can be used to calculate mathematically meaningful percentile measures over the whole fleet and over longer timescales, the latter cannot.
>
>
>> On Jun 19, 2016, at 9:36 AM, Lars George <la...@gmail.com> wrote:
>>
>> Hi,
>>
>> As per https://issues.apache.org/jira/browse/HBASE-6409 we rolled our
>> own class. Is that still needed? Since 2012 lot's has changed and we
>> should have all in place to use the Hadoop supplied one?
>>
>> Just curious.
>>
>> Cheers,
>> Lars

Re: MutableQuantiles

Posted by Andrew Purtell <an...@gmail.com>.
We have additional functionality that the Hadoop supplied one does not, importantly the ability to dump counts by latency bucket rather than percentile measures at the moment. The former can be used to calculate mathematically meaningful percentile measures over the whole fleet and over longer timescales, the latter cannot. 


> On Jun 19, 2016, at 9:36 AM, Lars George <la...@gmail.com> wrote:
> 
> Hi,
> 
> As per https://issues.apache.org/jira/browse/HBASE-6409 we rolled our
> own class. Is that still needed? Since 2012 lot's has changed and we
> should have all in place to use the Hadoop supplied one?
> 
> Just curious.
> 
> Cheers,
> Lars