You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Junping Du (JIRA)" <ji...@apache.org> on 2013/09/27 08:16:03 UTC
[jira] [Moved] (HDFS-5267) LightWeightGSet's modification field
should be volatile so that detect changes by other thread in iteration.
[ https://issues.apache.org/jira/browse/HDFS-5267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Junping Du moved HADOOP-9980 to HDFS-5267:
------------------------------------------
Component/s: (was: util)
Fix Version/s: (was: 2.3.0)
2.3.0
Key: HDFS-5267 (was: HADOOP-9980)
Project: Hadoop HDFS (was: Hadoop Common)
> LightWeightGSet's modification field should be volatile so that detect changes by other thread in iteration.
> ------------------------------------------------------------------------------------------------------------
>
> Key: HDFS-5267
> URL: https://issues.apache.org/jira/browse/HDFS-5267
> Project: Hadoop HDFS
> Issue Type: Bug
> 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