[
https://issues.apache.org/jira/browse/HIVE-12634?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wei Zheng updated HIVE-12634:
-----------------------------
Attachment: HIVE-12634.3.patch
Thanks [~ekoifman] for the review. Attaching patch 3 for test.
1. No I haven't. All irrelevant changes in generated code are variable name
changes, which I believe is due to some Thrift naming rules. I already sent an
email to Thrift user mailing list, haven't got response yet. But the bottom
line is these changes are not harmful, and if after this patch one runs the
maven command with thrift, he won't see any additional change.
2. Updated TxnHandler.abortTxns(AbortTxnsRequest) to best effort. Need to
document this, saying one can find the number of actually aborted transactions
in metastore logs if it's a "partial" abort.
3. Agree, there's a bug introduced by HIVE-12439. Fixed.
> Add command to kill an ACID transacton
> --------------------------------------
>
> 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
> Attachments: HIVE-12634.1.patch, HIVE-12634.2.patch,
> HIVE-12634.3.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)