You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/04/04 07:19:00 UTC

[jira] [Work logged] (HIVE-26107) Worker shouldn't inject duplicate entries in `ready for cleaning` state into the compaction queue

     [ https://issues.apache.org/jira/browse/HIVE-26107?focusedWorklogId=752108&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-752108 ]

ASF GitHub Bot logged work on HIVE-26107:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 04/Apr/22 07:18
            Start Date: 04/Apr/22 07:18
    Worklog Time Spent: 10m 
      Work Description: veghlaci05 opened a new pull request, #3172:
URL: https://github.com/apache/hive/pull/3172

   ### What changes were proposed in this pull request?
   Currently the users can manually trigger multiple compactions for the same table/partition in a short period. As a result, after the first request, all the others will set to 'ready for cleaning' state, but actually there's nothing to clean.
   
   ### Why are the changes needed?
   Changes in this PR prevent the users from submitting multiple compaction requests for the same table. After the first request, all subsequent requests will be refused until there is a change in the table.
   
   ### Does this PR introduce _any_ user-facing change?
   NO
   
   ### How was this patch tested?
   Manually and through unit tests




Issue Time Tracking
-------------------

            Worklog Id:     (was: 752108)
    Remaining Estimate: 0h
            Time Spent: 10m

> Worker shouldn't inject duplicate entries in `ready for cleaning` state into the compaction queue
> -------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-26107
>                 URL: https://issues.apache.org/jira/browse/HIVE-26107
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: László Végh
>            Assignee: László Végh
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> How to reproduce:
> 1) create an acid table and load some data ;
> 2) manually trigger the compaction for the table several times;
> 4) inspect compaction_queue: There are multiple entries in 'ready for cleaning' state for the same table.
>  
> Expected behavior: All compaction request after the first one should be rejected until the table is changed again.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)