[
https://issues.apache.org/jira/browse/HBASE-27885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17726222#comment-17726222
]
ruanhui commented on HBASE-27885:
---------------------------------
Our internal version is based on branch-2.4. In the branch-2.4, there is a
method ClusterConnection#getConnectionMetrics (see details in
[https://github.com/apache/hbase/blob/branch-2.4/hbase-client/src/main/java/org/apache/hadoop/hbase/client/ClusterConnection.java#L272
)|https://github.com/apache/hbase/blob/branch-2.4/hbase-client/src/main/java/org/apache/hadoop/hbase/client/ClusterConnection.java#L272)]
It works although it is not recommended
([https://github.com/apache/hbase/blob/branch-2.4/hbase-client/src/main/java/org/apache/hadoop/hbase/client/ClusterConnection.java#L38)]
:D
This class was removed in the master branch. So I also strongly support the
introduction of a new method to expose metric information.
Thanks.
> expose metaCacheHits in MetricsConnection
> -----------------------------------------
>
> Key: HBASE-27885
> URL: https://issues.apache.org/jira/browse/HBASE-27885
> Project: HBase
> Issue Type: New Feature
> Components: Client
> Affects Versions: 3.0.0-alpha-3
> Reporter: ruanhui
> Assignee: ruanhui
> Priority: Minor
> Fix For: 3.0.0-alpha-4
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)