[
https://issues.apache.org/jira/browse/HDFS-17170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17759569#comment-17759569
]
ASF GitHub Bot commented on HDFS-17170:
---------------------------------------
LiuGuH opened a new pull request, #5994:
URL: https://github.com/apache/hadoop/pull/5994
<!--
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
see https://issues.apache.org/jira/browse/HDFS-17170
### How was this patch tested?
Add a test case
> add metris for datanode in function processQueueMessages and reportTo
> ---------------------------------------------------------------------
>
> Key: HDFS-17170
> URL: https://issues.apache.org/jira/browse/HDFS-17170
> Project: Hadoop HDFS
> Issue Type: Improvement
> Reporter: liuguanghua
> Priority: Minor
>
> Add two metrics for datanode:
> (1)BPServiceActorAction.reportTo will execute errorReport and
> reportBadBlocks, record the counts of it.
> (2) BPServiceActor.processQueueMessages in the loop with heartbeat to
> NN,should recore the numOps and time.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]