You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Karen Coppage (Jira)" <ji...@apache.org> on 2020/12/03 08:23:00 UTC

[jira] [Created] (HIVE-24474) Failed compaction always throws TxnAbortedException (again)

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)