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 2021/07/28 09:17:00 UTC
[jira] [Resolved] (HIVE-25390) Metrics
compaction_failed_initiator_ratio and compaction_failed_cleaner_ratio
should be counters
[ https://issues.apache.org/jira/browse/HIVE-25390?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Karen Coppage resolved HIVE-25390.
----------------------------------
Resolution: Fixed
Committed to master branch. Thanks for the review [~lpinter]!
> Metrics compaction_failed_initiator_ratio and compaction_failed_cleaner_ratio should be counters
> ------------------------------------------------------------------------------------------------
>
> Key: HIVE-25390
> URL: https://issues.apache.org/jira/browse/HIVE-25390
> Project: Hive
> Issue Type: Sub-task
> Reporter: Karen Coppage
> Assignee: Karen Coppage
> Priority: Major
> Labels: backward-incompatible, pull-request-available
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Metric compaction_failed_initiator_ratio represents the ratio of initiator failures to the total number of initiator runs, both computed since Metastore was restarted, represented by a double. This isn't really useable. It would be better if it counted the number of initiator failures since Metastore was restarted so other components can keep an eye on things like "number of initiator failures in the last day".
> Same goes for compaction_failed_cleaner_ratio.
> This commit removes metrics
> * compaction_failed_initiator_ratio
> * compaction_failed_cleaner_ratio
> and introduces metrics
> * compaction_initiator_failure_counter
> * compaction_cleaner_failure_counter
--
This message was sent by Atlassian Jira
(v8.3.4#803005)