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

Hudson commented on AMBARI-12322:
---------------------------------

FAILURE: Integrated in Ambari-branch-2.1 #189 (See 
[https://builds.apache.org/job/Ambari-branch-2.1/189/])
AMBARI-12322. Installer wizard: cluster deploy failed due to deadlock. (swagle) 
(swagle: 
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=dec2c2fbb790d4b6bbacbb6e09f03408d494a80f)
* 
ambari-server/src/main/java/org/apache/ambari/server/events/listeners/alerts/AlertServiceStateListener.java


> Installer wizard: cluster deploy failed due to deadlock
> -------------------------------------------------------
>
>                 Key: AMBARI-12322
>                 URL: https://issues.apache.org/jira/browse/AMBARI-12322
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.1.0
>            Reporter: Siddharth Wagle
>            Assignee: Siddharth Wagle
>            Priority: Critical
>             Fix For: 2.1.0
>
>
> While creating cluster and its sub resources, UI hanged waiting for API 
> success/failure as found in the analysis.
> When manually going over there and going forward UI deletes the cluster 
> instance if found to be existing to begin with. This failed with 500 server 
> error
> {code:title=ambari-server.log}
> 29 Jun 2015 21:28:43,141 ERROR [pool-2-thread-1] 
> AmbariJpaLocalTxnInterceptor:114 - [DETAILED ERROR] Rollback reason:
> Local Exception Stack:
> Exception [EclipseLink-4002] (Eclipse Persistence Services - 
> 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.DatabaseException
> Internal Exception: java.sql.SQLException: ORA-00060: deadlock detected while 
> waiting for resource
> Error Code: 60
> Call: DELETE FROM alert_history WHERE (alert_definition_id = ?)
>         bind => [1 parameter bound]
> Query: DeleteAllQuery(name="AlertHistoryEntity.removeByDefinitionId" 
> referenceClass=AlertHistoryEntity sql="DELETE FROM alert_history WHERE 
> (alert_definition_id = ?)")
>         at 
> org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:331)
>         at 
> org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.executeDirectNoSelect(DatabaseAccessor.java:900)
>         at 
> org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.executeNoSelect(DatabaseAccessor.java:962)
> {code}



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

Reply via email to