[
https://issues.apache.org/jira/browse/HDFS-5242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13850805#comment-13850805
]
Suresh Srinivas commented on HDFS-5242:
---------------------------------------
Alternatively, this can be done in a lockless fashion using AtomicReference.
Let me know if you want me to upload a patch for that.
> Reduce contention on DatanodeInfo instances
> -------------------------------------------
>
> Key: HDFS-5242
> URL: https://issues.apache.org/jira/browse/HDFS-5242
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: namenode
> Affects Versions: 2.0.0-alpha, 3.0.0
> Reporter: Daryn Sharp
> Assignee: Daryn Sharp
> Attachments: HDFS-5242.patch
>
>
> Synchronization in {{DatanodeInfo}} instances causes unnecessary contention
> between call handlers.
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)