[
https://issues.apache.org/jira/browse/HIVE-11897?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14901716#comment-14901716
]
Ashutosh Chauhan commented on HIVE-11897:
-----------------------------------------
This ones better then previous, but I wonder try-with-resource might be better
here :
https://docs.oracle.com/javase/tutorial/essential/exceptions/tryResourceClose.html
?
> JDO rollback can throw pointless exceptions
> -------------------------------------------
>
> Key: HIVE-11897
> URL: https://issues.apache.org/jira/browse/HIVE-11897
> Project: Hive
> Issue Type: Bug
> Reporter: Sergey Shelukhin
> Assignee: Sergey Shelukhin
> Attachments: HIVE-11897.01.patch, HIVE-11897.patch
>
>
> Datanucleus does a bunch of stuff before the actual rollback, with each next
> step in a finally block; that way even if the prior steps fail, the rollback
> should still happen. However, an exception from some questionable
> pre-rollback logic like manipulating resultset after failure can affect
> DirectSQL fallback
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)