Repository: ambari Updated Branches: refs/heads/branch-feature-AMBARI-12556 df9c2378a -> 3f0752ec0
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/branch-feature-AMBARI-12556 Commit: 3c514cb7d8af7a33702f7f7dc9764cde3851c630 Parents: 6c540fd Author: Dmytro Sen <[email protected]> Authored: Tue Mar 21 19:53:47 2017 +0200 Committer: Dmytro Sen <[email protected]> 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')
