[ https://issues.apache.org/jira/browse/HDFS-16683?focusedWorklogId=794815&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-794815 ]
ASF GitHub Bot logged work on HDFS-16683: ----------------------------------------- Author: ASF GitHub Bot Created on: 25/Jul/22 10:23 Start Date: 25/Jul/22 10:23 Worklog Time Spent: 10m Work Description: zhangshuyan0 opened a new pull request, #4624: URL: https://github.com/apache/hadoop/pull/4624 …initialized. <!-- Thanks for sending a pull request! 1. If this is your first time, please read our contributor guidelines: https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute 2. Make sure your PR title starts with JIRA issue id, e.g., 'HADOOP-17799. Your PR title ...'. --> ### Description of PR ### How was this patch tested? ### For code changes: - [ ] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')? - [ ] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation? - [ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under [ASF 2.0](http://www.apache.org/legal/resolved.html#category-a)? - [ ] If applicable, have you updated the `LICENSE`, `LICENSE-binary`, `NOTICE-binary` files? Issue Time Tracking ------------------- Worklog Id: (was: 794815) Remaining Estimate: 0h Time Spent: 10m > 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 > Environment: 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. > Reporter: Shuyan Zhang > Priority: Major > Time Spent: 10m > Remaining Estimate: 0h > -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org