ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From avija...@apache.org
Subject [22/28] ambari git commit: AMBARI-18362 : Update sinks to read multiple collector hostnames from configs. (dsen via avijayan)
Date Tue, 15 Nov 2016 19:14:15 GMT
AMBARI-18362 : Update sinks to read multiple collector hostnames from configs. (dsen via avijayan)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/ba30991e
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/ba30991e
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/ba30991e

Branch: refs/heads/branch-2.5
Commit: ba30991ed06501cccf0f4fbe0368aea3726b8177
Parents: 8e21290
Author: Aravindan Vijayan <avijayan@hortonworks.com>
Authored: Mon Nov 14 21:50:47 2016 -0800
Committer: Aravindan Vijayan <avijayan@hortonworks.com>
Committed: Tue Nov 15 11:06:40 2016 -0800

----------------------------------------------------------------------
 .../hadoop/metrics2/sink/storm/StormTimelineMetricsSink.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/ba30991e/ambari-metrics/ambari-metrics-storm-sink-legacy/src/main/java/org/apache/hadoop/metrics2/sink/storm/StormTimelineMetricsSink.java
----------------------------------------------------------------------
diff --git a/ambari-metrics/ambari-metrics-storm-sink-legacy/src/main/java/org/apache/hadoop/metrics2/sink/storm/StormTimelineMetricsSink.java
b/ambari-metrics/ambari-metrics-storm-sink-legacy/src/main/java/org/apache/hadoop/metrics2/sink/storm/StormTimelineMetricsSink.java
index 4989696..8029e05 100644
--- a/ambari-metrics/ambari-metrics-storm-sink-legacy/src/main/java/org/apache/hadoop/metrics2/sink/storm/StormTimelineMetricsSink.java
+++ b/ambari-metrics/ambari-metrics-storm-sink-legacy/src/main/java/org/apache/hadoop/metrics2/sink/storm/StormTimelineMetricsSink.java
@@ -117,7 +117,7 @@ public class StormTimelineMetricsSink extends AbstractTimelineMetricsSink
implem
         String.valueOf(MAX_EVICTION_TIME_MILLIS)));
     applicationId = configuration.getProperty(CLUSTER_REPORTER_APP_ID, DEFAULT_CLUSTER_REPORTER_APP_ID);
     metricsCache = new TimelineMetricsCache(maxRowCacheSize, metricsSendInterval);
-    collectors = configuration.getProperty(COLLECTOR_PROPERTY);
+    collectorHosts = parseHostsStringIntoCollection(configuration.getProperty(COLLECTOR_HOSTS_PROPERTY));
     zkQuorum = configuration.getProperty("zookeeper.quorum");
     protocol = configuration.getProperty(COLLECTOR_PROTOCOL, "http");
     port = configuration.getProperty(COLLECTOR_PORT, "6188");


Mime
View raw message