Repository: ambari
Updated Branches:
  refs/heads/branch-2.4 5abe50ca7 -> 9f4e7913f


AMBARI-16649. RegionServer and Nimbus start failed on secure cluster due to 
Ranger stack changes (gborad via srimanth)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/9f4e7913
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/9f4e7913
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/9f4e7913

Branch: refs/heads/branch-2.4
Commit: 9f4e7913febec6d294dae8edf9708d3554433130
Parents: 5abe50c
Author: Srimanth Gunturi <[email protected]>
Authored: Fri May 13 06:59:15 2016 -0700
Committer: Srimanth Gunturi <[email protected]>
Committed: Fri May 13 06:59:15 2016 -0700

----------------------------------------------------------------------
 .../HBASE/0.96.0.2.0/package/scripts/params_linux.py               | 2 ++
 .../common-services/STORM/0.9.1/package/scripts/params_linux.py    | 2 ++
 2 files changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/9f4e7913/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 d3fc173..5f526ca 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
@@ -351,6 +351,8 @@ if has_ranger_admin:
       'type': 'hbase'
     }
 
+  ranger_hbase_principal = None
+  ranger_hbase_keytab = None
   if stack_supports_ranger_kerberos and security_enabled and 'hbase-master' in 
component_directory.lower():
     ranger_hbase_principal = master_jaas_princ
     ranger_hbase_keytab = master_keytab_path

http://git-wip-us.apache.org/repos/asf/ambari/blob/9f4e7913/ambari-server/src/main/resources/common-services/STORM/0.9.1/package/scripts/params_linux.py
----------------------------------------------------------------------
diff --git 
a/ambari-server/src/main/resources/common-services/STORM/0.9.1/package/scripts/params_linux.py
 
b/ambari-server/src/main/resources/common-services/STORM/0.9.1/package/scripts/params_linux.py
index d715a25..efec41f 100644
--- 
a/ambari-server/src/main/resources/common-services/STORM/0.9.1/package/scripts/params_linux.py
+++ 
b/ambari-server/src/main/resources/common-services/STORM/0.9.1/package/scripts/params_linux.py
@@ -300,6 +300,8 @@ if has_ranger_admin:
       'type': 'storm'
     }
 
+  ranger_storm_principal = None
+  ranger_storm_keytab = None
   if stack_supports_ranger_kerberos and security_enabled and 'storm-nimbus' in 
status_params.component_directory.lower():
     ranger_storm_principal = nimbus_jaas_principal
     ranger_storm_keytab = nimbus_keytab_path

Reply via email to