[
https://issues.apache.org/jira/browse/HADOOP-13500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15423284#comment-15423284
]
Jason Lowe commented on HADOOP-13500:
-------------------------------------
See TEZ-3413 for a sample backtrace. I believe the fix is to simply lock the
Property object while iterating it within the Configuration#iterator method,
but I haven't thought through all of the potential interactions to see if we
don't also have to lock the Configuration object itself as well or do something
even more complicated.
> Concurrency issues when using Configuration iterator
> ----------------------------------------------------
>
> Key: HADOOP-13500
> URL: https://issues.apache.org/jira/browse/HADOOP-13500
> Project: Hadoop Common
> Issue Type: Bug
> Components: conf
> Reporter: Jason Lowe
>
> It is possible to encounter a ConcurrentModificationException while trying to
> iterate a Configuration object. The iterator method tries to walk the
> underlying Property object without proper synchronization, so another thread
> simultaneously calling the set method can trigger it.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]