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

[jira] [Resolved] (HIVE-24096) Abort failed compaction's txn on TException or IOException

     [ https://issues.apache.org/jira/browse/HIVE-24096?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karen Coppage resolved HIVE-24096.
----------------------------------
    Fix Version/s: 4.0.0
       Resolution: Fixed

Committed to master branch. Thanks [~pvary] for the review!

> Abort failed compaction's txn on TException or IOException
> ----------------------------------------------------------
>
>                 Key: HIVE-24096
>                 URL: https://issues.apache.org/jira/browse/HIVE-24096
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Karen Coppage
>            Assignee: Karen Coppage
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> If compaction fails with a TException or IOException (e.g. IOException from [getAcidState|https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/Worker.java#L500] which is) after the compaction txn has been opened, the compaction is marked 'failed' but the compaction txn is never aborted.
> We should abort an open compaction txn upon TExceptions/IOExceptions.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)