Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-24474

Failed compaction always logs TxnAbortedException (again)

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.0
    • Component/s: Hive

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                klcopp Karen Coppage
                Reporter:
                klcopp Karen Coppage
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 10m
                  2h 10m