ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Levas" <rle...@hortonworks.com>
Subject Review Request 33741: Kerberos Identity data is empty when Cluster.security_type != KERBEROS
Date Fri, 01 May 2015 00:45:20 GMT

-----------------------------------------------------------
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


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message