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

Sandor Magyari commented on AMBARI-17618:
-----------------------------------------

Submitted to trunk & branch-2.4

> 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, AMBARI-17618_v2.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)

Reply via email to