[
https://issues.apache.org/jira/browse/HIVE-25318?focusedWorklogId=620931&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-620931
]
ASF GitHub Bot logged work on HIVE-25318:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 09/Jul/21 11:05
Start Date: 09/Jul/21 11:05
Worklog Time Spent: 10m
Work Description: asinkovits commented on a change in pull request #2460:
URL: https://github.com/apache/hive/pull/2460#discussion_r666822952
##########
File path:
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/metrics/AcidMetricService.java
##########
@@ -148,6 +150,8 @@ public static void
updateMetricsFromShowCompact(ShowCompactResponse showCompactR
}
long initiatorsCount = lastElements.values().stream()
+ //manually initiated compactions don't count
+ .filter(e -> !"manual".equals(getThreadIdFromId(e.getInitiatorId())))
Review comment:
nit: might be nicer to define a constant.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 620931)
Time Spent: 0.5h (was: 20m)
> Number of initiator hosts metric should ignore manually initiated compactions
> -----------------------------------------------------------------------------
>
> Key: HIVE-25318
> URL: https://issues.apache.org/jira/browse/HIVE-25318
> Project: Hive
> Issue Type: Sub-task
> Affects Versions: 4.0.0
> Reporter: Karen Coppage
> Assignee: Karen Coppage
> Priority: Major
> Labels: pull-request-available
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)