Repository: ambari Updated Branches: refs/heads/trunk 9e5c57e3e -> ce7c72709
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/trunk Commit: ce7c72709c5bc8588ddaf65e8e6b246ee5bb0380 Parents: 9e5c57e Author: Swapan Shridhar <[email protected]> Authored: Tue Feb 21 12:25:09 2017 -0800 Committer: Swapan Shridhar <[email protected]> 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']
