[
https://issues.apache.org/jira/browse/HBASE-22637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16877621#comment-16877621
]
Szalay-Beko Mate commented on HBASE-22637:
------------------------------------------
it looks the hbase-client on hbase 1.4 doesn't really use the get operation to
query the meta table information, but is using scan instead. (so for the sake
of the test, we now also query the meta table directly on branch-1 to see if
the get operation is counted or not)
It might be a good idea to extend the MetaMetrics feature with measuring the
scan operations as well.
> fix flaky TestMetaTableMetrics test
> -----------------------------------
>
> Key: HBASE-22637
> URL: https://issues.apache.org/jira/browse/HBASE-22637
> Project: HBase
> Issue Type: Bug
> Components: metrics, test
> Affects Versions: 2.0.6, 2.1.6
> Reporter: Szalay-Beko Mate
> Assignee: Szalay-Beko Mate
> Priority: Major
>
> coprocessor.TestMetaTableMetrics test is flaky, failing with the same assert
> error on two branches. e.g.:
> - branch 2.0:
> https://builds.apache.org//job/HBase-Flaky-Tests/job/branch-2.0/3382
> - branch 2.1:
> https://builds.apache.org//job/HBase-Flaky-Tests/job/branch-2.1/3469
> {noformat}
> java.lang.AssertionError: expected:<5> but was:<0>
> at
> org.apache.hadoop.hbase.coprocessor.TestMetaTableMetrics.test(TestMetaTableMetrics.java:226)
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)