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

Mutable range histogram reports incorrect outliers

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha-1, 1.5.0, 2.0.0, 1.4.9, 2.1.3, 2.2.1
    • 3.0.0-alpha-1, 2.2.0, 1.4.10, 2.3.0, 2.1.5
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: