hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aihua Xu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-14926) Keep Schema in consistent state where schemaTool fails or succeeds.
Date Fri, 14 Oct 2016 16:11:20 GMT

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

Aihua Xu commented on HIVE-14926:
---------------------------------

Yeah. It won't work with Oracle and mysql at least. Seems we may have to leave like this.
 

> Keep Schema in consistent state where schemaTool fails or succeeds.  
> ---------------------------------------------------------------------
>
>                 Key: HIVE-14926
>                 URL: https://issues.apache.org/jira/browse/HIVE-14926
>             Project: Hive
>          Issue Type: Improvement
>          Components: Database/Schema
>            Reporter: Aihua Xu
>            Assignee: Aihua Xu
>         Attachments: HIVE-14926.1.patch, HIVE-14926.2.patch
>
>
> SchemaTool uses autocommit right now when executing the upgrade or init scripts. Seems
we should use database transaction to commit or roll back to keep schema consistent.  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message