[
https://issues.apache.org/jira/browse/HDFS-14841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16927098#comment-16927098
]
Íñigo Goiri commented on HDFS-14841:
------------------------------------
Do you have any performance result or pointer?
It makes sense but it's better to have it for completion.
Can we avoid the parenthesis around key? Not sure if lambdas makes it necessary.
> Remove Class-Level Synchronization in LocalReplica
> --------------------------------------------------
>
> Key: HDFS-14841
> URL: https://issues.apache.org/jira/browse/HDFS-14841
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: datanode
> Affects Versions: 3.2.0
> Reporter: David Mollitor
> Assignee: David Mollitor
> Priority: Minor
> Attachments: HDFS-14841.1.patch
>
>
> Use Java's Concurrent package instead.
> https://github.com/apache/hadoop/blob/d8bac50e12d243ef8fd2c7e0ce5c9997131dee74/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/LocalReplica.java#L143
--
This message was sent by Atlassian Jira
(v8.3.2#803003)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]