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

Review request for Ambari and Vitalyi Brodetskyi.


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


Repository: ambari


Description
-------

The Spark principal name is not always lowercase in HDP 2.5.

This is because the principal definition does not specify `toLower` in the HDP
2.5 specific Kerberos descriptor:

**stacks/HDP/2.5/services/SPARK/kerberos.json:12**
    
    
    
    "value": "${spark-env/spark_user}-${cluster_name}@${realm}",
    

Should be:

**stacks/HDP/2.5/services/SPARK/kerberos.json:12**
    
    
    
    "value": "${spark-env/spark_user}-${cluster_name|toLower()}@${realm}",


Diffs
-----

  ambari-server/src/main/resources/stacks/HDP/2.5/services/SPARK/kerberos.json 
2d52fb3 

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


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk

Reply via email to