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 2021/05/18 23:49:00 UTC

[jira] [Updated] (HIVE-25080) Create metric about oldest entry in "ready for cleaning" state

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

ASF GitHub Bot updated HIVE-25080:
----------------------------------
    Labels: pull-request-available  (was: )

> Create metric about oldest entry in "ready for cleaning" state
> --------------------------------------------------------------
>
>                 Key: HIVE-25080
>                 URL: https://issues.apache.org/jira/browse/HIVE-25080
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Antal Sinkovits
>            Assignee: Antal Sinkovits
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> When a compaction txn commits, COMPACTION_QUEUE.CQ_COMMIT_TIME is updated with the current time. Then the compaction state is set to "ready for cleaning". (... and then the Cleaner runs and the state is set to "succeeded" hopefully)
> Based on this we know (roughly) how long a compaction has been in state "ready for cleaning".
> We should create a metric similar to compaction_oldest_enqueue_age_in_sec that would show that the cleaner is blocked by something i.e. find the compaction in "ready for cleaning" that has the oldest commit time.



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