Siddharth Wagle created AMBARI-12322:
----------------------------------------

             Summary: Installer wizard: cluster deploy failed
                 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