Repository: ambari
Updated Branches:
  refs/heads/trunk a729e7c25 -> 5ce202496


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

Branch: refs/heads/trunk
Commit: 5ce2024969a77139dd1430b2c1328717c273130d
Parents: a729e7c
Author: Srimanth Gunturi <[email protected]>
Authored: Fri May 13 06:59:15 2016 -0700
Committer: Srimanth Gunturi <[email protected]>
Committed: Fri May 13 07:00:01 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/5ce20249/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 d1674cb..32a36a7 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
@@ -353,6 +353,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/5ce20249/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 c935fb3..9fc0971 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
@@ -301,6 +301,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