Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.1.2
-
None
Description
Reproduction:
- Start HMS
- Start HS2
- Start beeline
- Execute a query and cancel query after transaction is started and before locks are acquired (yeah, that will take a debugger with breakpoints in DbLockManager)
- Do not terminate Hive session
DbLockManager will keep spinning in the checkLock loop as long as the Hive session is not closed since abortTxns is not invoked on HMS, and until the lock is acquired (even though the query could have been canceled long time ago).
Driver only checks in close() method if there are locks acquired but it does not check if a txn is open.
Attachments
Attachments
Issue Links
- causes
-
HIVE-24550 Cleanup only transaction information for the current DriverContext
- Closed