ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Siddharth Wagle (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-1564) TestActionManager is failing on master branch.
Date Wed, 06 Mar 2013 19:38:13 GMT
Siddharth Wagle created AMBARI-1564:
---------------------------------------

             Summary: TestActionManager is failing on master branch.
                 Key: AMBARI-1564
                 URL: https://issues.apache.org/jira/browse/AMBARI-1564
             Project: Ambari
          Issue Type: Bug
          Components: controller
    Affects Versions: 1.3.0
            Reporter: Siddharth Wagle
            Assignee: Siddharth Wagle
             Fix For: 1.3.0


Internal Exception: java.sql.SQLIntegrityConstraintViolationException: DELETE on table 'CLUSTERS'
caused a violation of foreign key constraint 'STAGE_CLUSTER_ID' for key (1).  The statement
has been rolled back.
Error Code: 20000
Call: DELETE FROM ambari.clusters WHERE (cluster_id = ?)
        bind => [1 parameter bound]
Query: DeleteObjectQuery(org.apache.ambari.server.orm.entities.ClusterEntity@fb940085)
        at org.eclipse.persistence.internal.jpa.transaction.EntityTransactionImpl.commitInternal(EntityTransactionImpl.java:102)
        at org.eclipse.persistence.internal.jpa.transaction.EntityTransactionImpl.commit(EntityTransactionImpl.java:63)
        at com.google.inject.persist.jpa.JpaLocalTxnInterceptor.invoke(JpaLocalTxnInterceptor.java:87)
        at org.apache.ambari.server.state.cluster.ClustersImpl.deleteCluster(ClustersImpl.java:558)
        at org.apache.ambari.server.actionmanager.TestActionManager.testCascadeDeleteStages(TestActionManager.java:173)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
        at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
        at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
        at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
        at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
        at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
        at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message