-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/71705/
-----------------------------------------------------------
(Updated Nov. 4, 2019, 10:02 a.m.)
Review request for hive, Denys Kuzmenko, Marta Kuczora, Laszlo Pinter, and
Peter Vary.
Changes
-------
Do not allow starting multiple heartbeater tasks.
Bugs: HIVE-22420
https://issues.apache.org/jira/browse/HIVE-22420
Repository: hive-git
Description
-------
DbTxnManager.stopHeartbeat() should be thread-safe, rollbackTxn() should check
before calling MS client, if txn has been closed previously, to avoid sending 0
as txnId.
Diffs (updated)
-----
ql/src/java/org/apache/hadoop/hive/ql/lockmgr/DbTxnManager.java 943aa383bb
Diff: https://reviews.apache.org/r/71705/diff/2/
Changes: https://reviews.apache.org/r/71705/diff/1-2/
Testing
-------
unit test
Thanks,
Aron Hamvas