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

Colin Patrick McCabe commented on HDFS-4052:
--------------------------------------------

Let's backport this to 2.2.  It's a simple patch and will improve performance

> BlockManager#invalidateWork should print logs outside the lock
> --------------------------------------------------------------
>
>                 Key: HDFS-4052
>                 URL: https://issues.apache.org/jira/browse/HDFS-4052
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>    Affects Versions: 3.0.0
>            Reporter: Jing Zhao
>            Assignee: Jing Zhao
>            Priority: Minor
>             Fix For: 3.0.0
>
>         Attachments: HDFS-4052.b1.001.patch, HDFS-4052.trunk.001.patch
>
>
> Info level log information printed holding the lock is long and is printed by 
> traversing a list/array. It would be better to move it outside of the lock.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to