ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sandor Magyari (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-17618) Fix ConcurrentModificationException in Resource.Type
Date Mon, 11 Jul 2016 12:25:10 GMT

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

Sandor Magyari updated AMBARI-17618:
------------------------------------
    Attachment:     (was: AMBARI-17618_v2.patch)

> Fix ConcurrentModificationException in Resource.Type
> ----------------------------------------------------
>
>                 Key: AMBARI-17618
>                 URL: https://issues.apache.org/jira/browse/AMBARI-17618
>             Project: Ambari
>          Issue Type: Bug
>    Affects Versions: 2.4.0
>            Reporter: Sandor Magyari
>            Assignee: Sandor Magyari
>            Priority: Critical
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-17618.patch
>
>
> Resource.Type is not thread-safe, sometimes ConcurrentModificationException may occur
when for. ex Ambari is extracting a new view and adding a new view resource type call Resource.Type.setType()),
meanwhile on a separate incoming request processing thread iterating through resource types
calling Resource.type.values().



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

Mime
View raw message