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 "Yuxuan Wang (Jira)" <ji...@apache.org> on 2019/11/18 08:52:00 UTC

[jira] [Commented] (HADOOP-13500) Concurrency issues when using Configuration iterator

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

Yuxuan Wang commented on HADOOP-13500:
--------------------------------------

Hi, is someone still work on this? And I want to know if there is a definition how thread-safe the class Configuration is?

> 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 Darrell Lowe
>            Priority: Major
>
> 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
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org