hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Chauhan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-11897) JDO rollback can throw pointless exceptions
Date Tue, 22 Sep 2015 01:12:04 GMT

    [ 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)

Mime
View raw message