[ 
https://issues.apache.org/jira/browse/AMBARI-9324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14294063#comment-14294063
 ] 

Hudson commented on AMBARI-9324:
--------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #1619 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/1619/])
AMBARI-9324. Kerberos: when unable to connect to KDC admin, need to inform user 
(rlevas) (rlevas: 
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=39a8b24c4b15801eb692e0cd2c95bcf98e92d64b)
* 
ambari-server/src/main/java/org/apache/ambari/server/serveraction/kerberos/MITKerberosOperationHandler.java
* 
ambari-server/src/main/java/org/apache/ambari/server/controller/KerberosHelper.java
* 
ambari-server/src/test/java/org/apache/ambari/server/serveraction/kerberos/MITKerberosOperationHandlerTest.java


> Kerberos: when unable to connect to KDC admin, need to inform user
> ------------------------------------------------------------------
>
>                 Key: AMBARI-9324
>                 URL: https://issues.apache.org/jira/browse/AMBARI-9324
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-server
>    Affects Versions: 2.0.0
>            Reporter: Robert Levas
>            Assignee: Robert Levas
>              Labels: kerberos
>             Fix For: 2.0.0
>
>         Attachments: AMBARI-9324_01.patch
>
>
> This appears to be happening when the KDC and/or KDC Admin hosts do not point 
> to a valid KDC, and when the relevant KDC does not _handle_ the indicated 
> realm.
> For the *host* issue, (in the cases that I tested), a 
> {{org.apache.ambari.server.serveraction.kerberos.KerberosKDCConnectionException}}
>  is being thrown but not caught to re-throw a 
> {{java.lang.IllegalArgumentException}}, which would generate the expected 400 
> error.
> For the *realm* issue, the following error string is not being captured by 
> the logic to produce a 
> {{org.apache.ambari.server.serveraction.kerberos.KerberosRealmException}}. 
> {code}
> kadmin: Cannot find KDC for requested realm while initializing kadmin 
> interface
> {code}
> In any case, 
> {{org.apache.ambari.server.serveraction.kerberos.KerberosRealmException}} is 
> not being caught to re-throw a {{java.lang.IllegalArgumentException}}, which 
> would generate the expected 400 error.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to