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 "Xiaoyu Yao (JIRA)" <ji...@apache.org> on 2016/12/12 16:14:59 UTC

[jira] [Commented] (HADOOP-13891) KerberosName#KerberosName cannot parse principle without realm

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

Xiaoyu Yao commented on HADOOP-13891:
-------------------------------------

The question here is whether a principal without realm it is a valid the Kerberos name. 
If yes, then we will need to fix this for KerberosName. Maybe adding an option for using default realm implicitly. Otherwise, we can close this one as won't fix. 

> 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: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org