Kaynağa Gözat

AMBARI-14287. Ranger admin HA installation with Blueprints fail due to error in stack advisor (aonishuk)

Andrew Onishuk 9 yıl önce
ebeveyn
işleme
4390c7a672

+ 1 - 1
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']