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 "Larry McCay (JIRA)" <ji...@apache.org> on 2016/08/28 16:44:20 UTC

[jira] [Updated] (HADOOP-13555) ConcurrentModificationException in Configuration#iterator

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

Larry McCay updated HADOOP-13555:
---------------------------------
    Attachment: hadoop-13555.zip

Attaching simple test to reproduce the problem with a common pattern of getting all the properties that begin with a given prefix. Unzip and run with:

{code}
mvn clean install
{code}

> ConcurrentModificationException in Configuration#iterator
> ---------------------------------------------------------
>
>                 Key: HADOOP-13555
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13555
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Yesha Vora
>         Attachments: hadoop-13555.zip
>
>
> {code}
> 2016-08-23 12:51:16,450 FATAL resourcemanager.ResourceManager (ResourceManager.java:main(1232)) - Error starting ResourceManager
> java.util.ConcurrentModificationException
>         at java.util.Hashtable$Enumerator.next(Hashtable.java:1167)
>         at org.apache.hadoop.conf.Configuration.iterator(Configuration.java:2464)
>         at org.apache.hadoop.conf.Configuration.getPropsWithPrefix(Configuration.java:2483)
>         at org.apache.hadoop.yarn.webapp.WebApps$Builder.getConfigParameters(WebApps.java:362)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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