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

Benoit Perroud commented on AMBARI-9738:
----------------------------------------

Might worth mentioning 1.7.x in the fix version too?


> Ambari Server Deadlocks During Cluster Provisioning
> ---------------------------------------------------
>
>                 Key: AMBARI-9738
>                 URL: https://issues.apache.org/jira/browse/AMBARI-9738
>             Project: Ambari
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Jonathan Hurley
>            Assignee: Jonathan Hurley
>            Priority: Critical
>             Fix For: 2.0.0
>
>         Attachments: ambariserverstack.txt
>
>
> During provisioning of a cluster, a deadlock scenario can occur between 
> {{ClusterImpl}} and {{ClustersImpl}}.
> {noformat}
> Thread-1
>   Clusters.mapHostsToCluster (writeLock)
>     Cluster.refresh (writeLock)
>     
> Thread-2
>   Cluster.convertToResponse (readLock)
>     Clusters.getHost (readLock)
>     
> Thread-1   Clusters.mapHostsToCluster (writeLock)
> Thread-2   Cluster.convertToResponse (readLock)
> Thread-1   Cluster.refresh (writeLock)  (BLOCKED by Thread-2)
> Thread-2   Clusters.getHost (readLock) (BLOCKED by Thread-1)
> {noformat}



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

Reply via email to