You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Chen Liang (JIRA)" <ji...@apache.org> on 2016/07/25 17:24:20 UTC

[jira] [Commented] (HDFS-10682) Add metric to measure lock held time in FSDataSetImpl

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

Chen Liang commented on HDFS-10682:
-----------------------------------

added a initial patch, which includes a lock checker class exposing method for lock held time, and instrumented FsDatasetImpl to call the method. 

> Add metric to measure lock held time in FSDataSetImpl
> -----------------------------------------------------
>
>                 Key: HDFS-10682
>                 URL: https://issues.apache.org/jira/browse/HDFS-10682
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: datanode
>            Reporter: Chen Liang
>            Assignee: Chen Liang
>         Attachments: HDFS-10682.001.patch
>
>
> Add a metric to measure the time the lock of FSDataSetImpl is held by a thread. The goal is to expose this for users to identify operations that locks dataset for long time ("long" in some sense) and be able to understand/reason/track the operation based on logs.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org