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

ASF GitHub Bot commented on HDFS-17523:
---------------------------------------

ThinkerLei opened a new pull request, #6886:
URL: https://github.com/apache/hadoop/pull/6886

   Add fine-grained lock held info when the lock holding time reaches the 
specified threshold.
   
   




> Add  fine-grained locks metrics in DataSetLockManager
> -----------------------------------------------------
>
>                 Key: HDFS-17523
>                 URL: https://issues.apache.org/jira/browse/HDFS-17523
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: lei w
>            Priority: Major
>
> Currently we use fine-grained locks to manage FsDataSetImpl. But we did not 
> add lock-related metrics. In some cases, we actually need lock-holding 
> information to understand the time-consuming lock-holding of a certain 
> operation. Using this information, we can also optimize some long-term lock 
> operations as early as possible.



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

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

Reply via email to