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:46 UTC

[1/2] ambari git commit: AMBARI-14287. Ranger admin HA installation with Blueprints fail due to error in stack advisor (aonishuk)

Repository: ambari
Updated Branches:
  refs/heads/branch-2.2 cb7b08abc -> d2501c8a1
  refs/heads/trunk e93463431 -> 4390c7a67


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/4390c7a6
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/4390c7a6
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/4390c7a6

Branch: refs/heads/trunk
Commit: 4390c7a672148f3cfd8da02a6ae45368d05afd65
Parents: e934634
Author: Andrew Onishuk <ao...@hortonworks.com>
Authored: Wed Dec 9 13:04:36 2015 +0200
Committer: Andrew Onishuk <ao...@hortonworks.com>
Committed: Wed Dec 9 13:04:36 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/4390c7a6/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']


[2/2] ambari git commit: AMBARI-14287. Ranger admin HA installation with Blueprints fail due to error in stack advisor (aonishuk)

Posted by ao...@apache.org.
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']