You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ds...@apache.org on 2017/03/21 17:53:59 UTC

ambari git commit: AMBARI-20518 Stack Advisor reported an error: KeyError: 'nimbus.authorizer' during Test Kerberos Client command (dsen)

Repository: ambari
Updated Branches:
  refs/heads/trunk 6c540fd07 -> 3c514cb7d


AMBARI-20518 Stack Advisor reported an error: KeyError: 'nimbus.authorizer' during Test Kerberos Client command (dsen)


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

Branch: refs/heads/trunk
Commit: 3c514cb7d8af7a33702f7f7dc9764cde3851c630
Parents: 6c540fd
Author: Dmytro Sen <ds...@apache.org>
Authored: Tue Mar 21 19:53:47 2017 +0200
Committer: Dmytro Sen <ds...@apache.org>
Committed: Tue Mar 21 19:53:47 2017 +0200

----------------------------------------------------------------------
 .../src/main/resources/stacks/HDP/2.5/services/stack_advisor.py    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/3c514cb7/ambari-server/src/main/resources/stacks/HDP/2.5/services/stack_advisor.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.5/services/stack_advisor.py b/ambari-server/src/main/resources/stacks/HDP/2.5/services/stack_advisor.py
index 555cf4d..a8b3728 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.5/services/stack_advisor.py
+++ b/ambari-server/src/main/resources/stacks/HDP/2.5/services/stack_advisor.py
@@ -499,7 +499,7 @@ class HDP25StackAdvisor(HDP24StackAdvisor):
     if security_enabled:
       if rangerPluginEnabled and (rangerPluginEnabled.lower() == 'Yes'.lower()):
         putStormSiteProperty('nimbus.authorizer',ranger_authorizer_class)
-      elif rangerPluginEnabled and (rangerPluginEnabled.lower() == 'No'.lower()) and (services["configurations"]["storm-site"]["properties"]["nimbus.authorizer"] == ranger_authorizer_class):
+      else:
         putStormSiteProperty('nimbus.authorizer', storm_authorizer_class)
     else:
       putStormSiteAttributes('nimbus.authorizer', 'delete', 'true')