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/03/03 10:50:00 UTC

[jira] [Work logged] (HIVE-25943) Introduce compaction cleaner failed attempts threshold

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

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

                Author: ASF GitHub Bot
            Created on: 03/Mar/22 10:49
            Start Date: 03/Mar/22 10:49
    Worklog Time Spent: 10m 
      Work Description: veghlaci05 commented on a change in pull request #3034:
URL: https://github.com/apache/hive/pull/3034#discussion_r818534969



##########
File path: standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/CompactionInfo.java
##########
@@ -87,6 +89,21 @@ public CompactionInfo(String dbname, String tableName, String partName, Compacti
   }
   CompactionInfo() {}
 
+  public String getProperty(String key) {

Review comment:
       It's wrapping the properties field to be able to access it easier




-- 
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.

To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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

    Worklog Id:     (was: 735853)
    Time Spent: 4h  (was: 3h 50m)

> Introduce compaction cleaner failed attempts threshold
> ------------------------------------------------------
>
>                 Key: HIVE-25943
>                 URL: https://issues.apache.org/jira/browse/HIVE-25943
>             Project: Hive
>          Issue Type: Improvement
>          Components: Hive
>            Reporter: László Végh
>            Assignee: László Végh
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 4h
>  Remaining Estimate: 0h
>
> If the cleaner fails for some reason, the compaction entity status remains in "ready for cleaning", therefore the cleaner will pick up this entity resulting in an endless try. The number of failed cleaning attempts should be counted and if they reach a certain threshold the cleaner must skip all the cleaning attempts on that compaction entity. 



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