You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ao...@apache.org on 2015/12/09 12:04:47 UTC
[2/2] ambari git commit: AMBARI-14287. Ranger admin HA installation
with Blueprints fail due to error in stack advisor (aonishuk)
AMBARI-14287. Ranger admin HA installation with Blueprints fail due to error in stack advisor (aonishuk)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/d2501c8a
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/d2501c8a
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/d2501c8a
Branch: refs/heads/branch-2.2
Commit: d2501c8a12292fa5136a853a99bd23692e3bca19
Parents: cb7b08a
Author: Andrew Onishuk <ao...@hortonworks.com>
Authored: Wed Dec 9 13:04:38 2015 +0200
Committer: Andrew Onishuk <ao...@hortonworks.com>
Committed: Wed Dec 9 13:04:38 2015 +0200
----------------------------------------------------------------------
.../src/main/resources/stacks/HDP/2.0.6/services/stack_advisor.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/d2501c8a/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 f3e6f8b..946deed 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
@@ -311,7 +311,7 @@ class HDP206StackAdvisor(DefaultStackAdvisor):
and services['configurations'] \
and 'admin-properties' in services['configurations'] and 'policymgr_external_url' in services['configurations']['admin-properties']['properties'] \
and services['configurations']['admin-properties']['properties']['policymgr_external_url'] \
- and not services['configurations']['admin-properties']['properties']['policymgr_external_url'].strip().isempty():
+ and services['configurations']['admin-properties']['properties']['policymgr_external_url'].strip():
# in case of HA deployment keep the policymgr_external_url specified in the config
policymgr_external_url = services['configurations']['admin-properties']['properties']['policymgr_external_url']