[ 
https://issues.apache.org/jira/browse/HDFS-6363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benoy Antony updated HDFS-6363:
-------------------------------
    Attachment: HDFS-6363-002.patch

Thanks for the review , [~wheat9].
Attaching a patch using _AtomicReference_.


> Improve concurrency while checking inclusion and exclusion of datanodes
> -----------------------------------------------------------------------
>
>                 Key: HDFS-6363
>                 URL: https://issues.apache.org/jira/browse/HDFS-6363
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Benoy Antony
>            Assignee: Benoy Antony
>              Labels: BB2015-05-TBR
>         Attachments: HDFS-6363-002.patch, HDFS-6363.patch
>
>
> HostFileManager holds two effectively immutable objects - includes and 
> excludes. These two objects can be safely published together using a volatile 
> container instead of synchronizing for all mutators and accessors.
> This improves the concurrency while using HostFileManager.



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

Reply via email to