Repository: ambari
Updated Branches:
  refs/heads/branch-2.1 8dfb83512 -> 14ef5e6bf


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

Branch: refs/heads/branch-2.1
Commit: 14ef5e6bf1b179336e0a031a85999ca9078dacf5
Parents: 8dfb835
Author: Jaimin Jetly <[email protected]>
Authored: Thu Nov 12 11:19:27 2015 -0800
Committer: Jaimin Jetly <[email protected]>
Committed: Thu Nov 12 11:19:27 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/14ef5e6b/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 3038fa3..6c7c689 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
@@ -150,14 +150,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)

Reply via email to