[
https://issues.apache.org/jira/browse/HBASE-23245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16972873#comment-16972873
]
Andrew Kyle Purtell commented on HBASE-23245:
---------------------------------------------
I came to reopen this due to accidental commit of Java 8 code to branch-1. Let
me take care of the addendum...
> All MutableHistogram implementations should remove maxExpected
> --------------------------------------------------------------
>
> Key: HBASE-23245
> URL: https://issues.apache.org/jira/browse/HBASE-23245
> Project: HBase
> Issue Type: Improvement
> Components: metrics
> Affects Versions: 3.0.0, 2.3.0, 1.6.0
> Reporter: Viraj Jasani
> Assignee: Viraj Jasani
> Priority: Major
> Fix For: 3.0.0, 2.3.0, 1.6.0, 1.4.12, 2.1.8, 2.2.3
>
> Attachments: HBASE-23245.branch-1.000.patch
>
>
> 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
--
This message was sent by Atlassian Jira
(v8.3.4#803005)