You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Abhishek Singh Chouhan (JIRA)" <ji...@apache.org> on 2019/03/12 18:29:00 UTC
[jira] [Updated] (HBASE-22045) Mutable range histogram reports
incorrect outliers
[ https://issues.apache.org/jira/browse/HBASE-22045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Abhishek Singh Chouhan updated HBASE-22045:
-------------------------------------------
Status: Patch Available (was: Open)
> Mutable range histogram reports incorrect outliers
> --------------------------------------------------
>
> Key: HBASE-22045
> URL: https://issues.apache.org/jira/browse/HBASE-22045
> Project: HBase
> Issue Type: Bug
> Affects Versions: 2.1.3, 1.4.9, 2.0.0, 1.3.3, 1.5.0, 3.0.0, 2.2.1
> Reporter: Abhishek Singh Chouhan
> Assignee: Abhishek Singh Chouhan
> Priority: Major
> Attachments: HBASE-22045.master.001.patch
>
>
> MutableRangeHistogram during the snapshot calculates the outliers (eg. mutate_TimeRange_600000-inf) and adds the counter with incorrect calculation by using the overall count of event and not the number of events in the snapshot.
> {code:java}
> long val = histogram.getCount();
> if (val - cumNum > 0) {
> metricsRecordBuilder.addCounter(
> Interns.info(name + "_" + rangeType + "_" + ranges[ranges.length - 1] + "-inf", desc),
> val - cumNum);
> }{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)