You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Lefty Leverenz (JIRA)" <ji...@apache.org> on 2016/05/10 18:46:12 UTC

[jira] [Commented] (HIVE-12634) Add command to kill an ACID transaction

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

Lefty Leverenz commented on HIVE-12634:
---------------------------------------

Doc note:  This will need to be documented, with release information, in the Grammar Changes section of the Hive Transactions doc.  Since it's TCL (transaction control language), not DDL or DML, we don't have a separate syntax doc for it.

* [Hive Transactions -- Grammar Changes | https://cwiki.apache.org/confluence/display/Hive/Hive+Transactions#HiveTransactions-GrammarChanges]

Just curious:  Why is the syntax ABORT TRANSACTIONS instead of ROLLBACK?

This should also have a release note.

> Add command to kill an ACID transaction
> ---------------------------------------
>
>                 Key: HIVE-12634
>                 URL: https://issues.apache.org/jira/browse/HIVE-12634
>             Project: Hive
>          Issue Type: New Feature
>          Components: Transactions
>    Affects Versions: 1.0.0
>            Reporter: Eugene Koifman
>            Assignee: Wei Zheng
>              Labels: TODOC1.3, TODOC2.1
>             Fix For: 1.3.0, 2.1.0
>
>         Attachments: HIVE-12634.1.patch, HIVE-12634.2.patch, HIVE-12634.3.patch, HIVE-12634.4.patch, HIVE-12634.5.patch, HIVE-12634.6.patch, HIVE-12634.7.patch, HIVE-12634.branch-1.patch
>
>
> Should add a CLI command to abort a (runaway) transaction.
> This should clean up all state related to this txn.
> The initiator of this (if still alive) will get an error trying to heartbeat/commit, i.e. will become aware that the txn is dead.



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