[
https://issues.apache.org/jira/browse/HIVE-24474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Karen Coppage resolved HIVE-24474.
----------------------------------
Resolution: Fixed
Committed to master branch. Thanks for the review [~kuczoram]Â and for the
suggestions [~pvary]!
> Failed compaction always logs 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
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.0.0
>
> Time Spent: 2h 10m
> Remaining Estimate: 0h
>
> 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)