[ https://issues.apache.org/jira/browse/PHOENIX-2560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15080765#comment-15080765
]
James Taylor commented on PHOENIX-2560:
---------------------------------------
I've tracked it down as far as changes that I made to BaseResultIterators here [1] which is
calling close() on each PeekingResultIterator. I'm thinking there may be some double counting
somewhere if a close() is done from elsewhere.
[1] https://github.com/apache/phoenix/commit/48e589773cbf46a10a2c1bd5cf483f2390ae1160#diff-8c3d3f644c66ef36d5bc604f017fabfc
> PhoenixMetricsIT test failures
> ------------------------------
>
> Key: PHOENIX-2560
> URL: https://issues.apache.org/jira/browse/PHOENIX-2560
> Project: Phoenix
> Issue Type: Bug
> Reporter: James Taylor
>
> My commit for PHOENIX-2558 seems to have broken a few metrics test. Any ideas, [~samarthjain]?
> {code}
> Running org.apache.phoenix.monitoring.PhoenixMetricsIT
> Tests run: 17, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 65.968 sec <<<
FAILURE! - in org.apache.phoenix.monitoring.PhoenixMetricsIT
> testMetricsForUpsertSelectWithAutoCommit(org.apache.phoenix.monitoring.PhoenixMetricsIT)
Time elapsed: 3.772 sec <<< FAILURE!
> java.lang.AssertionError: Unequal values for metric MUTATION_BYTES expected:<5600>
but was:<16240>
> at org.apache.phoenix.monitoring.PhoenixMetricsIT.assertMetricsHaveSameValues(PhoenixMetricsIT.java:654)
> at org.apache.phoenix.monitoring.PhoenixMetricsIT.assertMetricsAreSame(PhoenixMetricsIT.java:643)
> at org.apache.phoenix.monitoring.PhoenixMetricsIT.testMetricsForUpsertSelectWithAutoCommit(PhoenixMetricsIT.java:462)
> testMetricsForUpsertSelectSameTable(org.apache.phoenix.monitoring.PhoenixMetricsIT)
Time elapsed: 2.878 sec <<< FAILURE!
> java.lang.AssertionError: Unequal values for metric MUTATION_BYTES expected:<5600>
but was:<16240>
> at org.apache.phoenix.monitoring.PhoenixMetricsIT.assertMetricsHaveSameValues(PhoenixMetricsIT.java:654)
> at org.apache.phoenix.monitoring.PhoenixMetricsIT.assertMetricsAreSame(PhoenixMetricsIT.java:643)
> at org.apache.phoenix.monitoring.PhoenixMetricsIT.testMetricsForUpsertSelectSameTable(PhoenixMetricsIT.java:615)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
|