You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Shuyan Zhang (Jira)" <ji...@apache.org> on 2022/07/25 10:30:00 UTC

[jira] [Assigned] (HDFS-16683) All method metrics related to the rpc protocol should be initialized

     [ https://issues.apache.org/jira/browse/HDFS-16683?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shuyan Zhang reassigned HDFS-16683:
-----------------------------------

    Assignee: Shuyan Zhang

> All method metrics related to the rpc protocol should be initialized
> --------------------------------------------------------------------
>
>                 Key: HDFS-16683
>                 URL: https://issues.apache.org/jira/browse/HDFS-16683
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Shuyan Zhang
>            Assignee: Shuyan Zhang
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> When an RPC protocol is used, the metric of protocol-related methods should be initialized; otherwise, metric information will be incomplete. For example, when we call HAServiceProtocol#monitorHealth(), only the metric of monitorHealth() are initialized, and the metric of transitionToStandby() are still not reported. This incompleteness caused a little trouble for our monitoring system.
> The root cause is that the parameter passed by RpcEngine to MutableRatesWithAggregation#init(java.lang.Class<?>)  is always XXXProtocolPB, which is inherited from BlockingInterface and does not implement any methods. We should fix this bug.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org