You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by jo...@apache.org on 2016/10/16 13:30:19 UTC
[29/30] ambari git commit: AMBARI-18585 Set _HOST for Hbase Master
principal in Kerberos
AMBARI-18585 Set _HOST for Hbase Master principal in Kerberos
enabled Ranger Hbase Plugin (Mugdha Varadkar via gautam)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/e8544ba4
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/e8544ba4
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/e8544ba4
Branch: refs/heads/branch-feature-AMBARI-18456
Commit: e8544ba49be24774a40b4e95da05ab4d7daeccda
Parents: 3417db9
Author: Gautam Borad <ga...@apache.org>
Authored: Thu Oct 13 17:14:08 2016 +0530
Committer: Gautam Borad <ga...@apache.org>
Committed: Sat Oct 15 10:25:37 2016 +0530
----------------------------------------------------------------------
.../HBASE/0.96.0.2.0/package/scripts/params_linux.py | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/e8544ba4/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/params_linux.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/params_linux.py b/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/params_linux.py
index 3eb6991..1f32c41 100644
--- a/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/params_linux.py
+++ b/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/params_linux.py
@@ -332,9 +332,7 @@ if has_ranger_admin:
sql_connector_jar = ''
if security_enabled:
- hbase_master_hosts = default('/clusterHostInfo/hbase_master_hosts', [])
- hbase_master_host = hbase_master_hosts[0] if len(hbase_master_hosts) > 0 else 'localhost'
- master_principal = config['configurations']['hbase-site']['hbase.master.kerberos.principal'].replace('_HOST', hbase_master_host)
+ master_principal = config['configurations']['hbase-site']['hbase.master.kerberos.principal']
hbase_ranger_plugin_config = {
'username': repo_config_username,