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

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

                Author: ASF GitHub Bot
            Created on: 16/Sep/22 12:53
            Start Date: 16/Sep/22 12:53
    Worklog Time Spent: 10m 
      Work Description: lcspinter commented on code in PR #3521:
URL: https://github.com/apache/hive/pull/3521#discussion_r972989266


##########
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/metrics/CompactionMetricData.java:
##########
@@ -148,6 +152,10 @@ Map<String, Long> getStateCount() {
     return new HashMap<>(stateCount);
   }
 
+  public Map<String, Integer> getPoolCount() {
+    return new HashMap<>(poolCount);

Review Comment:
   If the statecount and poolcount are meant to be immutable, why don't we 
return an immutable hashmap? 





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

    Worklog Id:     (was: 809517)
    Time Spent: 2h  (was: 1h 50m)

> 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
>          Time Spent: 2h
>  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)

Reply via email to