You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Sandor Magyari (JIRA)" <ji...@apache.org> on 2016/07/08 09:05:10 UTC

[jira] [Created] (AMBARI-17618) Fix ConcurrentModificationException in Resource.Type

Sandor Magyari created AMBARI-17618:
---------------------------------------

             Summary: 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


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)