Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-22045

Mutable range histogram reports incorrect outliers

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0, 1.5.0, 2.0.0, 1.4.9, 2.1.3, 2.2.1
    • Fix Version/s: 3.0.0, 2.2.0, 1.4.10, 2.3.0, 2.1.5
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      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.

          long val = histogram.getCount();
          if (val - cumNum > 0) {
            metricsRecordBuilder.addCounter(
                Interns.info(name + "_" + rangeType + "_" + ranges[ranges.length - 1] + "-inf", desc),
                val - cumNum);
          }

        Attachments

        1. HBASE-22045.master.001.patch
          1 kB
          Abhishek Singh Chouhan

          Activity

            People

            • Assignee:
              abhishek.chouhan Abhishek Singh Chouhan
              Reporter:
              abhishek.chouhan Abhishek Singh Chouhan
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: