[ https://issues.apache.org/jira/browse/HIVE-26471?focusedWorklogId=815493&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-815493 ]
ASF GitHub Bot logged work on HIVE-26471: ----------------------------------------- Author: ASF GitHub Bot Created on: 11/Oct/22 07:36 Start Date: 11/Oct/22 07:36 Worklog Time Spent: 10m Work Description: deniskuzZ commented on code in PR #3645: URL: https://github.com/apache/hive/pull/3645#discussion_r991917809 ########## standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/metrics/CompactionMetricData.java: ########## @@ -152,8 +174,20 @@ Map<String, Long> getStateCount() { return new HashMap<>(stateCount); } - public Map<String, Integer> getPoolCount() { - return new HashMap<>(poolCount); + public Map<String, Integer> getInitiatedPoolCount() { + return new HashMap<>(initiatedPoolCount); Review Comment: should it be unmodifiable map? Issue Time Tracking ------------------- Worklog Id: (was: 815493) Time Spent: 4h 10m (was: 4h) > New metric for Compaction pooling > --------------------------------- > > Key: HIVE-26471 > URL: https://issues.apache.org/jira/browse/HIVE-26471 > Project: Hive > Issue Type: Improvement > Components: Hive > Reporter: László Végh > Assignee: László Végh > Priority: Major > Labels: pull-request-available > Fix For: 4.0.0-alpha-2 > > Time Spent: 4h 10m > Remaining Estimate: 0h > > To be able to properly supervise the pool based compaction, a new metric is > required: > Number of 'Initiated' compaction requests per compaction pool. -- This message was sent by Atlassian Jira (v8.20.10#820010)