Repository: ambari Updated Branches: refs/heads/branch-2.5 4279738af -> a50289bf9
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/a50289bf Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/a50289bf Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/a50289bf Branch: refs/heads/branch-2.5 Commit: a50289bf9356f4b652cae1af844cc092e745bffb Parents: 4279738 Author: Swapan Shridhar <[email protected]> Authored: Tue Feb 21 12:25:09 2017 -0800 Committer: Swapan Shridhar <[email protected]> Committed: Tue Feb 21 12:26:44 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/a50289bf/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']
