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

Benoy Antony commented on HDFS-6363:
------------------------------------

To understand more on the validity of this safe publication approach, please 
see  
https://issues.apache.org/jira/browse/HADOOP-10448?focusedCommentId=13980112

> 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
>         Attachments: 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.2#6252)

Reply via email to