You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Emil Anca <ea...@hortonworks.com> on 2015/06/19 16:25:25 UTC

Review Request 35649: JCE distribution should be done as part of Kerberos service configure function instead from hooks (refactoring)

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

Review request for Ambari, Jaimin Jetly and Robert Levas.


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


Repository: ambari


Description
-------

Ambari distributes JCE policy to a host before any install/start task is executed in a secure cluster. This is done via before-any hooks.
Now since kerberos service is introduced in the stack, JCE policy should be distributed as part of the configure function of Kerberos service stack definition.
This task should involve just ambari-agent code changes.


Diffs
-----

  ambari-server/src/main/resources/common-services/KERBEROS/1.10.3-10/package/scripts/kerberos_client.py 282915a 
  ambari-server/src/main/resources/common-services/KERBEROS/1.10.3-10/package/scripts/kerberos_common.py cd9b2ba 
  ambari-server/src/main/resources/common-services/KERBEROS/1.10.3-10/package/scripts/params.py beb0479 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/hook.py 1fd36d6 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/params.py 87719f3 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/shared_initialization.py 699fe5f 
  ambari-server/src/test/python/stacks/2.0.6/hooks/before-ANY/test_before_any.py 129907f 
  ambari-server/src/test/python/stacks/2.2/KERBEROS/test_kerberos_client.py 85f3f7c 

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


Testing
-------

Ambari server tests ran locally.
Installed and Kerberized Cluster while monitoring the JCE policy distribution.


Thanks,

Emil Anca


Re: Review Request 35649: JCE distribution should be done as part of Kerberos service configure function instead from hooks (refactoring)

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

Ship it!


Ship It!

- Robert Levas


On June 19, 2015, 10:25 a.m., Emil Anca wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/35649/
> -----------------------------------------------------------
> 
> (Updated June 19, 2015, 10:25 a.m.)
> 
> 
> Review request for Ambari, Jaimin Jetly and Robert Levas.
> 
> 
> Bugs: AMBARI-12018
>     https://issues.apache.org/jira/browse/AMBARI-12018
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Ambari distributes JCE policy to a host before any install/start task is executed in a secure cluster. This is done via before-any hooks.
> Now since kerberos service is introduced in the stack, JCE policy should be distributed as part of the configure function of Kerberos service stack definition.
> This task should involve just ambari-agent code changes.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/common-services/KERBEROS/1.10.3-10/package/scripts/kerberos_client.py 282915a 
>   ambari-server/src/main/resources/common-services/KERBEROS/1.10.3-10/package/scripts/kerberos_common.py cd9b2ba 
>   ambari-server/src/main/resources/common-services/KERBEROS/1.10.3-10/package/scripts/params.py beb0479 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/hook.py 1fd36d6 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/params.py 87719f3 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/shared_initialization.py 699fe5f 
>   ambari-server/src/test/python/stacks/2.0.6/hooks/before-ANY/test_before_any.py 129907f 
>   ambari-server/src/test/python/stacks/2.2/KERBEROS/test_kerberos_client.py 85f3f7c 
> 
> Diff: https://reviews.apache.org/r/35649/diff/
> 
> 
> Testing
> -------
> 
> Ambari server tests ran locally.
> Installed and Kerberized Cluster while monitoring the JCE policy distribution.
> 
> 
> Thanks,
> 
> Emil Anca
> 
>