This is an automated email from the ASF dual-hosted git repository. asnaik pushed a commit to branch branch-2.7 in repository https://gitbox.apache.org/repos/asf/ambari.git
The following commit(s) were added to refs/heads/branch-2.7 by this push: new 04fed34 [AMBARI-23478] YARN Cluster CPU Usage Graph Always Shows High CPU Usage (#3009) 04fed34 is described below commit 04fed34467cfcb1b970f8cca0ff1d691106e69a0 Author: kasakrisz <33458261+kasakr...@users.noreply.github.com> AuthorDate: Wed Jun 19 09:53:53 2019 +0200 [AMBARI-23478] YARN Cluster CPU Usage Graph Always Shows High CPU Usage (#3009) --- .../server/controller/metrics/MetricsDataTransferMethodFactory.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ambari-server/src/main/java/org/apache/ambari/server/controller/metrics/MetricsDataTransferMethodFactory.java b/ambari-server/src/main/java/org/apache/ambari/server/controller/metrics/MetricsDataTransferMethodFactory.java index b819c02..01fc452 100644 --- a/ambari-server/src/main/java/org/apache/ambari/server/controller/metrics/MetricsDataTransferMethodFactory.java +++ b/ambari-server/src/main/java/org/apache/ambari/server/controller/metrics/MetricsDataTransferMethodFactory.java @@ -40,7 +40,9 @@ public class MetricsDataTransferMethodFactory { Set<String> metricsWithAggregateFunctionIds = new HashSet<>(); for (String metric : percentMetrics) { for (String aggregateFunctionId : AGGREGATE_FUNCTION_IDENTIFIERS) { - metricsWithAggregateFunctionIds.add(metric + aggregateFunctionId); + if (!"._sum".equals(aggregateFunctionId)) { + metricsWithAggregateFunctionIds.add(metric + aggregateFunctionId); + } } }