You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@ambari.apache.org by Attila Magyar <am...@hortonworks.com> on 2017/06/13 12:42:59 UTC

Review Request 60047: Principal placeholder replacement in kerberos.json doesn't work with blueprint installs

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

Review request for Ambari, Balázs Bence Sári, Laszlo Puskas, Robert Levas, and Sebastian Toader.


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


Repository: ambari


Description
-------

Kerberos principal placeholders like
sasl:${principals/YARN/RESOURCEMANAGER/resource_manager_rm|principalPrimary()}:rwcda
are not getting replaced if the cluster is created with blueprints (kerberos=enabled).

I moved the logic that populates the replacemap with kerberos principals to a different place.


Diffs
-----

  ambari-server/src/main/java/org/apache/ambari/server/controller/KerberosHelperImpl.java 802c93d 


Diff: https://reviews.apache.org/r/60047/diff/1/


Testing
-------

- created a cluster with blueprint (kerberos=enabled)
- checked yarn-site.xml and zookeeper ACLs

existing tests: Tests run: 4982, Failures: 0, Errors: 0, Skipped: 39


Thanks,

Attila Magyar


Re: Review Request 60047: Principal placeholder replacement in kerberos.json doesn't work with blueprint installs

Posted by Robert Levas <rl...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/60047/#review177904
-----------------------------------------------------------


Ship it!




Ship It!

- Robert Levas


On June 13, 2017, 8:42 a.m., Attila Magyar wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/60047/
> -----------------------------------------------------------
> 
> (Updated June 13, 2017, 8:42 a.m.)
> 
> 
> Review request for Ambari, Balázs Bence Sári, Laszlo Puskas, Robert Levas, and Sebastian Toader.
> 
> 
> Bugs: AMBARI-21236
>     https://issues.apache.org/jira/browse/AMBARI-21236
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Kerberos principal placeholders like
> sasl:${principals/YARN/RESOURCEMANAGER/resource_manager_rm|principalPrimary()}:rwcda
> are not getting replaced if the cluster is created with blueprints (kerberos=enabled).
> 
> I moved the logic that populates the replacemap with kerberos principals to a different place.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/java/org/apache/ambari/server/controller/KerberosHelperImpl.java 802c93d 
> 
> 
> Diff: https://reviews.apache.org/r/60047/diff/1/
> 
> 
> Testing
> -------
> 
> - created a cluster with blueprint (kerberos=enabled)
> - checked yarn-site.xml and zookeeper ACLs
> 
> existing tests: Tests run: 4982, Failures: 0, Errors: 0, Skipped: 39
> 
> 
> Thanks,
> 
> Attila Magyar
> 
>


Re: Review Request 60047: Principal placeholder replacement in kerberos.json doesn't work with blueprint installs

Posted by Sebastian Toader <st...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/60047/#review177733
-----------------------------------------------------------


Ship it!




Ship It!

- Sebastian Toader


On June 13, 2017, 2:42 p.m., Attila Magyar wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/60047/
> -----------------------------------------------------------
> 
> (Updated June 13, 2017, 2:42 p.m.)
> 
> 
> Review request for Ambari, Balázs Bence Sári, Laszlo Puskas, Robert Levas, and Sebastian Toader.
> 
> 
> Bugs: AMBARI-21236
>     https://issues.apache.org/jira/browse/AMBARI-21236
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Kerberos principal placeholders like
> sasl:${principals/YARN/RESOURCEMANAGER/resource_manager_rm|principalPrimary()}:rwcda
> are not getting replaced if the cluster is created with blueprints (kerberos=enabled).
> 
> I moved the logic that populates the replacemap with kerberos principals to a different place.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/java/org/apache/ambari/server/controller/KerberosHelperImpl.java 802c93d 
> 
> 
> Diff: https://reviews.apache.org/r/60047/diff/1/
> 
> 
> Testing
> -------
> 
> - created a cluster with blueprint (kerberos=enabled)
> - checked yarn-site.xml and zookeeper ACLs
> 
> existing tests: Tests run: 4982, Failures: 0, Errors: 0, Skipped: 39
> 
> 
> Thanks,
> 
> Attila Magyar
> 
>