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

Chris Nauroth commented on HADOOP-9980:
---------------------------------------

Yes, that makes sense.  I think this would move to an HDFS issue too, because 
the patch would only touch files in HDFS.  Thanks, Junping.
                
> LightWeightGSet's modification field should be volatile so that detect 
> changes by other thread in iteration.
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-9980
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9980
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: util
>            Reporter: Junping Du
>            Assignee: Junping Du
>             Fix For: 2.3.0
>
>         Attachments: HADOOP-9980.patch
>
>
> LightWeightGSet should have a volatile modification field (like: 
> LightWeightHashSet or LightWeightLinkedSet) that is used to detect updates 
> while iterating so they can throw a ConcurrentModificationException.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to