ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hurley (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-9738) Ambari Server Deadlocks During Cluster Provisioning
Date Sat, 21 Feb 2015 19:34:12 GMT

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

Jonathan Hurley updated AMBARI-9738:
------------------------------------
    Attachment: ambariserverstack.txt

> 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)

Mime
View raw message