You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Junping Du (JIRA)" <ji...@apache.org> on 2013/09/21 04:14:51 UTC

[jira] [Updated] (HADOOP-9980) LightWeightGSet's modification field should be volatile so that detect changes by other thread in iteration.

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

Junping Du updated HADOOP-9980:
-------------------------------

    Attachment: HADOOP-9980.patch

Upload a quick fix.
                
> 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 LightWeight) 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