Repository: ambari Updated Branches: refs/heads/trunk e94e3ff9e -> 75c80346f
AMBARI-13849. Stack advisor for HDP-2.3 stack incorrectly rewrites the value of hbase.coprocessor.master.classes set by HDP-2.2 stack advisor. (jaimin) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/75c80346 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/75c80346 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/75c80346 Branch: refs/heads/trunk Commit: 75c80346f2f79ee13b40213bfaf8f5d9010cb7c5 Parents: e94e3ff Author: Jaimin Jetly <[email protected]> Authored: Thu Nov 12 11:19:27 2015 -0800 Committer: Jaimin Jetly <[email protected]> Committed: Thu Nov 12 11:21:43 2015 -0800 ---------------------------------------------------------------------- .../main/resources/stacks/HDP/2.3/services/stack_advisor.py | 8 -------- 1 file changed, 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/75c80346/ambari-server/src/main/resources/stacks/HDP/2.3/services/stack_advisor.py ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.3/services/stack_advisor.py b/ambari-server/src/main/resources/stacks/HDP/2.3/services/stack_advisor.py index ff85099..f0510cf 100644 --- a/ambari-server/src/main/resources/stacks/HDP/2.3/services/stack_advisor.py +++ b/ambari-server/src/main/resources/stacks/HDP/2.3/services/stack_advisor.py @@ -220,14 +220,6 @@ class HDP23StackAdvisor(HDP22StackAdvisor): else: putHbaseSitePropertyAttributes('hbase.region.server.rpc.scheduler.factory.class', 'delete', 'true') - servicesList = [service["StackServices"]["service_name"] for service in services["services"]] - if 'ranger-hbase-plugin-properties' in services['configurations'] and ('ranger-hbase-plugin-enabled' in services['configurations']['ranger-hbase-plugin-properties']['properties']): - rangerPluginEnabled = services['configurations']['ranger-hbase-plugin-properties']['properties']['ranger-hbase-plugin-enabled'] - if ("RANGER" in servicesList) and (rangerPluginEnabled.lower() == "Yes".lower()): - putHbaseSiteProperty("hbase.security.authorization", 'true') - putHbaseSiteProperty("hbase.coprocessor.master.classes", 'org.apache.ranger.authorization.hbase.RangerAuthorizationCoprocessor') - putHbaseSiteProperty("hbase.coprocessor.region.classes", 'org.apache.ranger.authorization.hbase.RangerAuthorizationCoprocessor') - def recommendHIVEConfigurations(self, configurations, clusterData, services, hosts): super(HDP23StackAdvisor, self).recommendHIVEConfigurations(configurations, clusterData, services, hosts)
