hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Krogen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-10817) Add Logging for Long-held NN Read Locks
Date Tue, 30 Aug 2016 23:04:20 GMT

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

Erik Krogen commented on HDFS-10817:
------------------------------------

Added a patch to implement this with a configurable threshold. Required the use of ThreadLocal
since multiple threads acquire read locks simultaneously. 

> Add Logging for Long-held NN Read Locks
> ---------------------------------------
>
>                 Key: HDFS-10817
>                 URL: https://issues.apache.org/jira/browse/HDFS-10817
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: logging, namenode
>            Reporter: Erik Krogen
>            Assignee: Erik Krogen
>         Attachments: HDFS-10817.000.patch
>
>
> Right now the Namenode will log when a write lock is held for a long time to help tracks
methods which are causing expensive delays. Let's do the same for read locks since these operations
may also be expensive/long and cause delays. 



--
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


Mime
View raw message