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

Xiaoyu Yao updated HADOOP-13891:
--------------------------------
    Attachment: testKerberosName.patch

Attach a unit test that exposes the bug.

> KerberosName#KerberosName cannot parse principle without realm
> --------------------------------------------------------------
>
>                 Key: HADOOP-13891
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13891
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: security
>            Reporter: Xiaoyu Yao
>         Attachments: testKerberosName.patch
>
>
> Given a principal string like "HTTP/localhost", the returned KerberosName 
> object contains a null hostname and null realm name. The service name is 
> incorrectly parsed as whole as "HTTP/localhost".



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to