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

Jing Zhao commented on HDFS-6077:
---------------------------------

This is actually a similar issue with HDFS-5339: SecurityUtil#buildTokenService 
tries to resolve the name service id as a host name. Since HDFS-5339 already 
figures out the token service name for webhdfs filesystem in the 
initialization, we can simply override the getCanonicalServiceName method and 
return the tokenServiceName.

> running slive with webhdfs on secure HA cluster fails with un kown host 
> exception
> ---------------------------------------------------------------------------------
>
>                 Key: HDFS-6077
>                 URL: https://issues.apache.org/jira/browse/HDFS-6077
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 2.3.0
>            Reporter: Arpit Gupta
>            Assignee: Jing Zhao
>




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

Reply via email to