[
https://issues.apache.org/jira/browse/AMBARI-18956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15761899#comment-15761899
]
Hudson commented on AMBARI-18956:
---------------------------------
FAILURE: Integrated in Jenkins build Ambari-branch-2.5 #553 (See
[https://builds.apache.org/job/Ambari-branch-2.5/553/])
AMBARI-18956. Ambari attempts to commit transactions marked as (stoader:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=4c04a91536f87c422440b4e954d810336585882d])
* (edit)
ambari-server/src/main/java/org/apache/ambari/server/orm/AmbariJpaLocalTxnInterceptor.java
* (add)
ambari-server/src/test/java/org/apache/ambari/server/orm/AmbariJpaLocalTxnInterceptorTest.java
> Ambari attempts to commit transactions marked as rollback-only
> --------------------------------------------------------------
>
> Key: AMBARI-18956
> URL: https://issues.apache.org/jira/browse/AMBARI-18956
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.4.0
> Reporter: Doroszlai, Attila
> Assignee: Doroszlai, Attila
> Priority: Minor
> Fix For: 3.0.0, 2.5.0
>
> Attachments: AMBARI-18956.patch
>
>
> {{EntityTransaction}} may be marked
> [rollback-only|http://docs.oracle.com/javaee/6/api/javax/persistence/EntityTransaction.html#setRollbackOnly()]
> due to exception. If {{@Transactional}} is not marked to {{rollbackOn()}}
> such exception, Ambari still attempts to commit the transaction. The end
> result for the transaction is the same (rollback), but instead of the
> original exception a {{RollbackException}} is reported, so information is
> lost.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)