trafodion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From svar...@apache.org
Subject [1/2] incubator-trafodion git commit: [TRAFODION-2460] pyinstaller-should not overwrite previous hbase.coprocessor.region.class settings when modify HDP settings.
Date Tue, 31 Jan 2017 00:46:57 GMT
Repository: incubator-trafodion
Updated Branches:
  refs/heads/master 8559981df -> f3f454527


[TRAFODION-2460] pyinstaller-should not overwrite previous hbase.coprocessor.region.class
settings when modify HDP settings.


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/commit/7c3ae965
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/tree/7c3ae965
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/diff/7c3ae965

Branch: refs/heads/master
Commit: 7c3ae9655c213c641aad2ba4ea214c7b16821bd4
Parents: 660c80e
Author: Eason <hfutmkby@gmail.com>
Authored: Wed Jan 25 21:32:23 2017 +0800
Committer: Eason <hfutmkby@gmail.com>
Committed: Wed Jan 25 21:32:23 2017 +0800

----------------------------------------------------------------------
 install/python-installer/scripts/hadoop_mods.py | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/7c3ae965/install/python-installer/scripts/hadoop_mods.py
----------------------------------------------------------------------
diff --git a/install/python-installer/scripts/hadoop_mods.py b/install/python-installer/scripts/hadoop_mods.py
index d98989d..3331673 100755
--- a/install/python-installer/scripts/hadoop_mods.py
+++ b/install/python-installer/scripts/hadoop_mods.py
@@ -121,6 +121,10 @@ class HDPMod(object):
         }
         self.p.post('%s/config_groups' % cluster_url, hbase_config_group)
 
+        if dbcfgs['secure_hadoop'].upper() == 'Y':
+            secure_cfgs = ',org.apache.hadoop.hbase.security.access.AccessController,org.apache.hadoop.hbase.security.token.TokenProvider'
+            MOD_CFGS['hbase-site']['hbase.coprocessor.region.classes'] += secure_cfgs
+
         for config_type in MOD_CFGS.keys():
             desired_tag = desired_cfg['Clusters']['desired_configs'][config_type]['tag']
             current_cfg = self.p.get(cfg_url.format(config_type, desired_tag))


Mime
View raw message