You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by Aron Hamvas via Review Board <no...@reviews.apache.org> on 2020/02/19 09:13:35 UTC

Review Request 72150: HIVE-22905: Transaction is not aborted when query cancelled, only when session is closed

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/72150/
-----------------------------------------------------------

Review request for hive, Denys Kuzmenko, Marta Kuczora, Laszlo Pinter, and Peter Vary.


Bugs: HIVE-22905
    https://issues.apache.org/jira/browse/HIVE-22905


Repository: hive-git


Description
-------

When query is canceled, e.g. while txn is waiting for lock to be acquired, txn is not aborted until the session is terminated. Driver.close() should not only check whether there are acquired locks, but also whether the txn is still open.


Diffs
-----

  ql/src/java/org/apache/hadoop/hive/ql/Driver.java 48ebc4f87071bae4cc39309ada8d90dfc5c64f5b 


Diff: https://reviews.apache.org/r/72150/diff/1/


Testing
-------


Thanks,

Aron Hamvas