You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by av...@apache.org on 2018/09/14 04:22:11 UTC
[ambari] branch branch-2.7 updated: [AMBARI-24556] Aggregation
across clusters are not being done in AMS for even when multiple cluster
support is enabled. (#2313)
This is an automated email from the ASF dual-hosted git repository.
avijayan 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 31b96f1 [AMBARI-24556] Aggregation across clusters are not being done in AMS for even when multiple cluster support is enabled. (#2313)
31b96f1 is described below
commit 31b96f1f3d95d1293643a0e9abd2ff2cab144f45
Author: avijayanhwx <av...@hortonworks.com>
AuthorDate: Thu Sep 13 21:22:07 2018 -0700
[AMBARI-24556] Aggregation across clusters are not being done in AMS for even when multiple cluster support is enabled. (#2313)
---
.../timeline/aggregators/TimelineMetricClusterAggregatorSecond.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ambari-metrics/ambari-metrics-timelineservice/src/main/java/org/apache/ambari/metrics/core/timeline/aggregators/TimelineMetricClusterAggregatorSecond.java b/ambari-metrics/ambari-metrics-timelineservice/src/main/java/org/apache/ambari/metrics/core/timeline/aggregators/TimelineMetricClusterAggregatorSecond.java
index 785b416..7001aa6 100644
--- a/ambari-metrics/ambari-metrics-timelineservice/src/main/java/org/apache/ambari/metrics/core/timeline/aggregators/TimelineMetricClusterAggregatorSecond.java
+++ b/ambari-metrics/ambari-metrics-timelineservice/src/main/java/org/apache/ambari/metrics/core/timeline/aggregators/TimelineMetricClusterAggregatorSecond.java
@@ -101,9 +101,9 @@ public class TimelineMetricClusterAggregatorSecond extends AbstractTimelineAggre
}
if (Boolean.valueOf(metricsConf.get(TIMELINE_METRICS_SUPPORT_MULTIPLE_CLUSTERS, "false"))) {
- this.timelineMetricReadHelper = new TimelineMetricReadHelper(metadataManager, true);
- } else {
this.timelineMetricReadHelper = new TimelineMetricReadHelper(metadataManager);
+ } else {
+ this.timelineMetricReadHelper = new TimelineMetricReadHelper(metadataManager, true);
}
}