[
https://issues.apache.org/jira/browse/HDFS-17360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17811500#comment-17811500
]
ASF GitHub Bot commented on HDFS-17360:
---------------------------------------
huangzhaobo99 opened a new pull request, #6505:
URL: https://github.com/apache/hadoop/pull/6505
<!--
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
JIAR: https://issues.apache.org/jira/browse/HDFS-17360
1. In prod env, it is common for high concurrency to read a certain block,
leading to an increase in machine load, And then affect other users.
2. Now, record the number of requests for blockId during a specific time
period on the jmx page, and promptly locate abnormal users or blocks.
3. And combined with the `fsck` tool to obtain specific paths.
### How was this patch tested?
Add `TestDataNodeMetrics#testReadBlockIdCounts` UT.
> Record the number of times a block is read during a certain time period.
> ------------------------------------------------------------------------
>
> Key: HDFS-17360
> URL: https://issues.apache.org/jira/browse/HDFS-17360
> Project: Hadoop HDFS
> Issue Type: New Feature
> Reporter: huangzhaobo
> Assignee: huangzhaobo
> Priority: Major
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]