You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Benoy Antony (JIRA)" <ji...@apache.org> on 2014/06/15 10:49:01 UTC

[jira] [Updated] (HADOOP-10702) KerberosAuthenticationHandler does not log the principal names correctly

     [ https://issues.apache.org/jira/browse/HADOOP-10702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benoy Antony updated HADOOP-10702:
----------------------------------

    Attachment: HADOOP-10702.patch

The attached patch correctly prints the principal names.

> KerberosAuthenticationHandler does not log the principal names correctly
> ------------------------------------------------------------------------
>
>                 Key: HADOOP-10702
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10702
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: security
>    Affects Versions: 2.5.0
>            Reporter: Benoy Antony
>            Assignee: Benoy Antony
>            Priority: Minor
>         Attachments: HADOOP-10702.patch
>
>
> With Hadoop-10158, it is possible to load multiple principal names or all HTTP principals in the key tab by specifying “*”.
> Each principal name is logged when when the principal is loaded from key tab. But there is a bug due to which principal name is logged each time  as either “*” or the full list of principals.
> The log snippet is as below:
> 2014-06-15 00:19:13,288 INFO org.apache.hadoop.security.authentication.server.KerberosAuthenticationHandler: Login using keytab /etc/hadoop/hadoop.keytab, for principal *
> 2014-06-15 00:19:13,292 INFO org.apache.hadoop.security.authentication.server.KerberosAuthenticationHandler: Login using keytab /etc/hadoop/hadoop.keytab, for principal *
> 2014-06-15 00:19:13,294 INFO org.apache.hadoop.security.authentication.server.KerberosAuthenticationHandler: Login using keytab /etc/hadoop/hadoop.keytab, for principal *
> 2014-06-15 00:19:13,295 INFO org.apache.hadoop.security.authentication.server.KerberosAuthenticationHandler: Login using keytab /etc/hadoop/hadoop.keytab, for principal *



--
This message was sent by Atlassian JIRA
(v6.2#6252)