hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Lowe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-5513) ConcurrentModificationException in JobControl
Date Thu, 26 Sep 2013 19:58:03 GMT

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

Jason Lowe commented on MAPREDUCE-5513:
---------------------------------------

+1, lgtm.
                
> ConcurrentModificationException in JobControl
> ---------------------------------------------
>
>                 Key: MAPREDUCE-5513
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5513
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 2.1.0-beta, 0.23.9
>            Reporter: Jason Lowe
>            Assignee: Robert Parker
>         Attachments: MAPREDUCE-5513-1.patch
>
>
> JobControl.toList is locking individual lists to iterate them, but those lists can be
modified elsewhere without holding the list lock.  The locking approaches are mismatched,
with toList holding the lock on the actual list object while other methods hold the JobControl
lock when modifying the lists.

--
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

Mime
View raw message