You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Jonathan Hurley (JIRA)" <ji...@apache.org> on 2015/02/21 20:34:11 UTC
[jira] [Created] (AMBARI-9738) Ambari Server Deadlocks During
Cluster Provisioning
Jonathan Hurley created AMBARI-9738:
---------------------------------------
Summary: 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)