-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/48547/
-----------------------------------------------------------

(Updated June 10, 2016, 12:50 p.m.)


Review request for Ambari, Gautam Borad, Jonathan Hurley, Nate Cole, Srimanth 
Gunturi, and Velmurugan Periasamy.


Summary (updated)
-----------------

AMBARI-17164 Handle Ranger upgrade scenario in Kerberized env


Bugs: AMBARI-17164
    https://issues.apache.org/jira/browse/AMBARI-17164


Repository: ambari


Description
-------

Add this property to ranger-admin-site.xml:
ranger.plugins.{component}.serviceuser=service_user

Add spnego principal and keytab if cluster is kerberized to below properties:
ranger.spnego.kerberos.principal
ranger.spnego.kerberos.keytab


Diffs
-----

  
ambari-server/src/main/java/org/apache/ambari/server/serveraction/upgrades/RangerKerberosConfigCalculation.java
 PRE-CREATION 
  
ambari-server/src/main/resources/common-services/RANGER/0.6.0/configuration/ranger-admin-site.xml
 35910ee 
  
ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/nonrolling-upgrade-2.5.xml
 f40f760 
  ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/upgrade-2.5.xml 
ea5ff5a 
  
ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/nonrolling-upgrade-2.5.xml
 7fb03dc 
  ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/upgrade-2.5.xml 
7f988e3 
  ambari-server/src/main/resources/stacks/HDP/2.5/services/stack_advisor.py 
df6c65c 
  
ambari-server/src/test/java/org/apache/ambari/server/serveraction/upgrades/RangerKerberosConfigCalculationTest.java
 PRE-CREATION 

Diff: https://reviews.apache.org/r/48547/diff/


Testing
-------

Tested upgrade scenario from stack 2.4 to 2.5


-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Picked up _JAVA_OPTIONS: -Xmx2048m -XX:MaxPermSize=512m -Djava.awt.headless=true
Running 
org.apache.ambari.server.serveraction.upgrades.RangerKerberosConfigCalculationTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.586 sec - in 
org.apache.ambari.server.serveraction.upgrades.RangerKerberosConfigCalculationTest

Results :

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0


Thanks,

Mugdha Varadkar

Reply via email to