hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Shelukhin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-5265) Direct SQL fallback broken on Postgres
Date Thu, 12 Sep 2013 16:48:54 GMT

    [ https://issues.apache.org/jira/browse/HIVE-5265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13765609#comment-13765609
] 

Sergey Shelukhin commented on HIVE-5265:
----------------------------------------

Can you put it in 12? without it, Postgres metastore is broken by default in 12, the setting
for Direct SQL needs to be disabled manually.
                
> Direct SQL fallback broken on Postgres
> --------------------------------------
>
>                 Key: HIVE-5265
>                 URL: https://issues.apache.org/jira/browse/HIVE-5265
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.12.0
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>            Priority: Critical
>             Fix For: 0.13.0
>
>         Attachments: HIVE-5265.D12861.1.patch
>
>
> See HIVE-5264. Postgres aborts transaction on any failed query, so the fallback doesn't
work.
> Original code used to do rollback/restart tx on SQL failure, but then it was removed
to allow usage in cases like dropTable/etc., where there's external tx present and we cannot
partially rollback.
> Looks like the solution for now is to reinstate the rollback/reopen, and prohibit the
usage inside external transactions.

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