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:07 UTC
[ambari] branch trunk updated: [AMBARI-24556] Aggregation across
clusters are not being done in AMS for even when multiple cluster support
is enabled. (#2314)
This is an automated email from the ASF dual-hosted git repository.
avijayan pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git
The following commit(s) were added to refs/heads/trunk by this push:
new c03f4b0 [AMBARI-24556] Aggregation across clusters are not being done in AMS for even when multiple cluster support is enabled. (#2314)
c03f4b0 is described below
commit c03f4b061f17f4088667e857557d535166031352
Author: avijayanhwx <av...@hortonworks.com>
AuthorDate: Thu Sep 13 21:22:02 2018 -0700
[AMBARI-24556] Aggregation across clusters are not being done in AMS for even when multiple cluster support is enabled. (#2314)
---
.../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);
}
}