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 (JIRA)" <ji...@apache.org> on 2015/01/25 21:18:34 UTC

[jira] [Created] (AMBARI-9324) Kerberos: when unable to connect to KDC admin, need to inform user

Robert Levas created AMBARI-9324:
------------------------------------

             Summary: 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
             Fix For: 2.0.0


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)