[ https://issues.apache.org/jira/browse/HIVE-24474?focusedWorklogId=519710&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-519710 ]
ASF GitHub Bot logged work on HIVE-24474: ----------------------------------------- Author: ASF GitHub Bot Created on: 03/Dec/20 15:06 Start Date: 03/Dec/20 15:06 Worklog Time Spent: 10m Work Description: klcopp opened a new pull request #1735: URL: https://github.com/apache/hive/pull/1735 ### What changes were proposed in this pull request? ### Why are the changes needed? See HIVE-24474 ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Manually, since the TxnAbortedException only appears in the logs. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 519710) Remaining Estimate: 0h Time Spent: 10m > 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 > Fix For: 4.0.0 > > Time Spent: 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)