You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by jo...@apache.org on 2017/02/21 22:35:50 UTC

[4/6] ambari git commit: AMBARI-20046. Fix druid metric_emitter_type when ambari-metrics-server is installed. (Nishant Bangarwa via Swapan Shridhar).

AMBARI-20046. Fix druid metric_emitter_type when ambari-metrics-server is installed. (Nishant Bangarwa via Swapan Shridhar).


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

Branch: refs/heads/branch-feature-AMBARI-20053
Commit: ce7c72709c5bc8588ddaf65e8e6b246ee5bb0380
Parents: 9e5c57e
Author: Swapan Shridhar <ss...@hortonworks.com>
Authored: Tue Feb 21 12:25:09 2017 -0800
Committer: Swapan Shridhar <ss...@hortonworks.com>
Committed: Tue Feb 21 12:25:09 2017 -0800

----------------------------------------------------------------------
 .../common-services/DRUID/0.9.2/package/scripts/params.py          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/ce7c7270/ambari-server/src/main/resources/common-services/DRUID/0.9.2/package/scripts/params.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/DRUID/0.9.2/package/scripts/params.py b/ambari-server/src/main/resources/common-services/DRUID/0.9.2/package/scripts/params.py
index c615fac..08ff3ab 100644
--- a/ambari-server/src/main/resources/common-services/DRUID/0.9.2/package/scripts/params.py
+++ b/ambari-server/src/main/resources/common-services/DRUID/0.9.2/package/scripts/params.py
@@ -162,7 +162,7 @@ ams_collector_hosts = default("/clusterHostInfo/metrics_collector_hosts", [])
 has_metric_collector = not len(ams_collector_hosts) == 0
 
 if has_metric_collector:
-    metric_emitter_type = "ambari-metrics-emitter"
+    metric_emitter_type = "ambari-metrics"
     if 'cluster-env' in config['configurations'] and \
                     'metrics_collector_vip_host' in config['configurations']['cluster-env']:
         metric_collector_host = config['configurations']['cluster-env']['metrics_collector_vip_host']