[ 
https://issues.apache.org/jira/browse/HDFS-15808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17287458#comment-17287458
 ] 

tomscut edited comment on HDFS-15808 at 2/20/21, 7:18 AM:
----------------------------------------------------------

Thanks [~xkrogen] for your good point and [~shv] for your suggestion. I added 
the type value on the {{@Metric}} annotation.


was (Author: tomscut):
Thanks [~xkrogen] for your good point and [~shv] for your suggestion. I fixed 
it.

> Add metrics for FSNamesystem read/write lock hold long time
> -----------------------------------------------------------
>
>                 Key: HDFS-15808
>                 URL: https://issues.apache.org/jira/browse/HDFS-15808
>             Project: Hadoop HDFS
>          Issue Type: Wish
>          Components: hdfs
>            Reporter: tomscut
>            Assignee: tomscut
>            Priority: Major
>              Labels: hdfs, lock, metrics, pull-request-available
>         Attachments: ExpiredHeartbeat.png, lockLongHoldCount
>
>          Time Spent: 4.5h
>  Remaining Estimate: 0h
>
> To monitor how often read/write locks exceed thresholds, we can add two 
> metrics(ReadLockWarning/WriteLockWarning), which are exposed in JMX.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to