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

Ranith Sardar edited comment on HDFS-13445 at 4/13/18 12:11 PM:
----------------------------------------------------------------

In the following snippet, it tries to get the server principal from the URL.If 
we pass IP "KerberosAuthenticator.this.url.getHost()" will not resolved and 
it's gives "HTTP/_HOST".
{code:java}
 String servicePrincipal = KerberosUtil.getServicePrincipal("HTTP",  
KerberosAuthenticator.this.url.getHost());
{code}
 


was (Author: ranith):
When we are trying to access the webhdfs with IP:port, it is not able to 
resolve the HTTP/_HOST PRINCIPAL.

> Hostname is not getting resolved when we pass IP in webhdfs request.
> --------------------------------------------------------------------
>
>                 Key: HDFS-13445
>                 URL: https://issues.apache.org/jira/browse/HDFS-13445
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: namenode, webhdfs
>    Affects Versions: 2.8.3
>            Reporter: Ranith Sardar
>            Assignee: Ranith Sardar
>            Priority: Major
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to