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

All MutableHistogram implementations should remove maxExpected

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0, 2.3.0, 1.6.0
    • Fix Version/s: 3.0.0, 2.3.0, 1.6.0, 1.4.12, 2.1.8, 2.2.3
    • Component/s: metrics
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      MutableHistogram is using HistogramImpl() and not using maxExpected. From all implementation classes, maxExpected should be removed as constructor argument. Also, HistogramImpl() should pass long casting for Integer.MAX_VALUE << 2 else it is treated as -4

        Attachments

        1. HBASE-23245.branch-1.000.patch
          1 kB
          Viraj Jasani

          Activity

            People

            • Assignee:
              vjasani Viraj Jasani
              Reporter:
              vjasani Viraj Jasani
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: