AMBARI-20075. Fix druid router hosts in config (Nishant Bangarwa via smohanty)


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

Branch: refs/heads/branch-2.5
Commit: bd5950a684f091a37567119401cb49d023d1c27f
Parents: adab9e1
Author: Sumit Mohanty <[email protected]>
Authored: Sat Feb 18 23:55:18 2017 -0800
Committer: Sumit Mohanty <[email protected]>
Committed: Sat Feb 18 23:55:18 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/bd5950a6/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 61f35b2..c615fac 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
@@ -221,7 +221,7 @@ druid_coordinator_hosts = 
default("/clusterHostInfo/druid_coordinator_hosts", []
 druid_coordinator_host = ""
 if not len(druid_coordinator_hosts) == 0:
   druid_coordinator_host = druid_coordinator_hosts[0]
-druid_router_hosts = default("/clusterHostInfo/druid_coordinator_hosts", [])
+druid_router_hosts = default("/clusterHostInfo/druid_router_hosts", [])
 druid_router_host = ""
 if not len(druid_router_hosts) == 0:
   druid_router_host = druid_router_hosts[0]

Reply via email to