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/11/25 09:14:00 UTC

[jira] [Commented] (HIVE-24314) compactor.Cleaner should not set state "mark cleaned" if it didn't remove any files

    [ https://issues.apache.org/jira/browse/HIVE-24314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17238618#comment-17238618 ] 

Karen Coppage commented on HIVE-24314:
--------------------------------------

Committed to master Nov 3, 2020. Thanks for the reviews [~pvargacl] and [~kuczoram]!

> compactor.Cleaner should not set state "mark cleaned" if it didn't remove any files
> -----------------------------------------------------------------------------------
>
>                 Key: HIVE-24314
>                 URL: https://issues.apache.org/jira/browse/HIVE-24314
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Karen Coppage
>            Assignee: Karen Coppage
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> If the Cleaner didn't remove any files, don't mark the compaction queue entry as "succeeded" but instead leave it in "ready for cleaning" state for later cleaning. If it removed at least one file, then the compaction queue entry as "succeeded". This is a partial fix, HIVE-24291 is the complete fix.



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