You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Robert Levas <rl...@hortonworks.com> on 2015/05/01 02:45:20 UTC
Review Request 33741: Kerberos Identity data is empty when
Cluster.security_type != KERBEROS
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/33741/
-----------------------------------------------------------
Review request for Ambari, Emil Anca, Robert Nettleton, and Yusaku Sako.
Bugs: AMBARI-10875
https://issues.apache.org/jira/browse/AMBARI-10875
Repository: ambari
Description
-------
Kerberos Identity data is empty when Cluster.security_type does not equal "KERBEROS".
Technically this seems to make sense since there shouldn't be any relevant Kerberos identities if the cluster isn't configured for Kerberos; however a _chicken-and-the-egg_ condition is encountered when manually enabled Kerberos and a listing of the needed Kerberos identities is needed before Kerberos is to be fully enabled.
**Solution**
Allow the keberos_identities API end points to generate data even if Cluster.security_type is not equal to "KERBEROS".
Diffs
-----
ambari-server/src/main/java/org/apache/ambari/server/controller/KerberosHelper.java b131c4c
ambari-server/src/test/java/org/apache/ambari/server/controller/KerberosHelperTest.java 614ee57
Diff: https://reviews.apache.org/r/33741/diff/
Testing
-------
Manual testing
**Jenkins test results: PENDING**
Thanks,
Robert Levas
Re: Review Request 33741: Kerberos Identity data is empty when
Cluster.security_type != KERBEROS
Posted by Robert Nettleton <rn...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/33741/#review82249
-----------------------------------------------------------
Ship it!
Ship It!
- Robert Nettleton
On May 1, 2015, 12:45 a.m., Robert Levas wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/33741/
> -----------------------------------------------------------
>
> (Updated May 1, 2015, 12:45 a.m.)
>
>
> Review request for Ambari, Emil Anca, Robert Nettleton, and Yusaku Sako.
>
>
> Bugs: AMBARI-10875
> https://issues.apache.org/jira/browse/AMBARI-10875
>
>
> Repository: ambari
>
>
> Description
> -------
>
> Kerberos Identity data is empty when Cluster.security_type does not equal "KERBEROS".
>
> Technically this seems to make sense since there shouldn't be any relevant Kerberos identities if the cluster isn't configured for Kerberos; however a _chicken-and-the-egg_ condition is encountered when manually enabled Kerberos and a listing of the needed Kerberos identities is needed before Kerberos is to be fully enabled.
>
> **Solution**
> Allow the keberos_identities API end points to generate data even if Cluster.security_type is not equal to "KERBEROS".
>
>
> Diffs
> -----
>
> ambari-server/src/main/java/org/apache/ambari/server/controller/KerberosHelper.java b131c4c
> ambari-server/src/test/java/org/apache/ambari/server/controller/KerberosHelperTest.java 614ee57
>
> Diff: https://reviews.apache.org/r/33741/diff/
>
>
> Testing
> -------
>
> Manual testing
>
> **Jenkins test results: PENDING**
>
>
> Thanks,
>
> Robert Levas
>
>