hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Lowe (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (HADOOP-13500) Concurrency issues when using Configuration iterator
Date Tue, 03 Apr 2018 14:21:00 GMT

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

Jason Lowe reopened HADOOP-13500:
---------------------------------

This is not a duplicate of HADOOP-13556.  That JIRA only changed the getPropsWithPrefix method
which was not involved in the error reported by this JIRA or TEZ-3413.  AFAICT iterating a
shared configuration object is still unsafe.

> 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
>            Assignee: Ajay Kumar
>            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
(v7.6.3#76005)

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


Mime
View raw message