You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by sw...@apache.org on 2016/01/05 22:23:28 UTC
ambari git commit: AMBARI-14542. AMS in distributed mode fails to
start with blueprint deploy. Stack advisor fix. (swagle)
Repository: ambari
Updated Branches:
refs/heads/branch-2.2 8c3d3d6a0 -> b87c792cf
AMBARI-14542. AMS in distributed mode fails to start with blueprint deploy. Stack advisor fix. (swagle)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/b87c792c
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/b87c792c
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/b87c792c
Branch: refs/heads/branch-2.2
Commit: b87c792cf10d6d97f751d2d6a34cef8d3a68031e
Parents: 8c3d3d6
Author: Siddharth Wagle <sw...@hortonworks.com>
Authored: Tue Jan 5 13:23:17 2016 -0800
Committer: Siddharth Wagle <sw...@hortonworks.com>
Committed: Tue Jan 5 13:23:23 2016 -0800
----------------------------------------------------------------------
.../main/resources/stacks/HDP/2.0.6/services/stack_advisor.py | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/b87c792c/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/stack_advisor.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/stack_advisor.py b/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/stack_advisor.py
index bb0ef69..a4c602e 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/stack_advisor.py
+++ b/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/stack_advisor.py
@@ -881,11 +881,13 @@ class HDP206StackAdvisor(DefaultStackAdvisor):
hbase_zk_client_port = properties.get("hbase.zookeeper.property.clientPort")
zkPort = self.getZKPort(services)
hbase_zk_client_port_item = None
- if distributed.lower() == "true" and op_mode == "distributed" and hbase_zk_client_port != zkPort:
+ if distributed.lower() == "true" and op_mode == "distributed" and \
+ hbase_zk_client_port != zkPort and hbase_zk_client_port != "{{zookeeper_clientPort}}":
hbase_zk_client_port_item = self.getErrorItem("In AMS distributed mode, hbase.zookeeper.property.clientPort "
"should be the cluster zookeeper server port : {0}".format(zkPort))
- if distributed.lower() == "false" and op_mode == "embedded" and hbase_zk_client_port == zkPort:
+ if distributed.lower() == "false" and op_mode == "embedded" and \
+ hbase_zk_client_port == zkPort and hbase_zk_client_port != "{{zookeeper_clientPort}}":
hbase_zk_client_port_item = self.getErrorItem("In AMS embedded mode, hbase.zookeeper.property.clientPort "
"should be a different port than cluster zookeeper port."
"(default:61181)")