Karen Coppage created HIVE-24474: ------------------------------------ Summary: Failed compaction always throws TxnAbortedException (again) Key: HIVE-24474 URL: https://issues.apache.org/jira/browse/HIVE-24474 Project: Hive Issue Type: Bug Components: Hive Reporter: Karen Coppage Assignee: Karen Coppage Fix For: 4.0.0
Re-introduced with HIVE-24096. If there is an error during compaction, the compaction's txn is aborted but in the finally clause, we try to commit it (commitTxnIfSet), so Worker throws a TxnAbortedException. We should set compactorTxnId to TXN_ID_NOT_SET if the compaction's txn is aborted. -- This message was sent by Atlassian Jira (v8.3.4#803005)