> On March 1, 2017, 2:04 p.m., Alejandro Fernandez wrote:
> > ambari-server/src/main/resources/common-services/SPARK2/2.0.0/kerberos.json
> > Line 18 (original), 18 (patched)
> > <https://reviews.apache.org/r/56980/diff/4/?file=1652641#file1652641line18>
> >
> >     I thought Spark2 was supposed to have its own keytab.

Apparently Spark and Spark2 work better if they share the same Kerberos 
identity. Since Ambari does not handle the same principal name in multiple 
keytab files, both services need to use the same keytab file - which is 
preferred since Ambari has to do less work.


- Robert


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


On March 1, 2017, 6:18 a.m., Attila Magyar wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/56980/
> -----------------------------------------------------------
> 
> (Updated March 1, 2017, 6:18 a.m.)
> 
> 
> Review request for Ambari, Attila Doroszlai, Balázs Bence Sári, Robert Levas, 
> and Sebastian Toader.
> 
> 
> Bugs: AMBARI-20140
>     https://issues.apache.org/jira/browse/AMBARI-20140
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Spark2 and Spark1 shares the same principal name. This casuses a problem when 
> adding Spark2 to a kerberized cluster with Spark1. Ambari doesn't publish the 
> keytab to Spark2 because it thinks it already exists.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/common-services/SPARK2/2.0.0/kerberos.json 
> cf7eeba 
>   
> ambari-server/src/main/resources/stacks/HDP/2.6/services/SPARK2/kerberos.json 
> 01ee87e 
> 
> 
> Diff: https://reviews.apache.org/r/56980/diff/4/
> 
> 
> Testing
> -------
> 
> - Created a cluster with Spark
> - Enabled Kerberos
> - Added Spark2
> - Checked if Spark2 started successfully 
> - removed spark
> - restarted spark2 successfully, checked the exitance of the spark keytab
> 
> Existing tests ran without failure.
> 
> 
> Thanks,
> 
> Attila Magyar
> 
>

Reply via email to