Karen Coppage created HIVE-25390: ------------------------------------ Summary: 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
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)