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

Anthony Hsu commented on HDFS-7984:
-----------------------------------

Actually, it seems that WebHdfsFileSystem *does* use the tokens in 
{{HADOOP_TOKEN_FILE_LOCATION}} (under the hood, it's all handled by 
{{UserGroupInformation}}). My mistake earlier was that I was fetching 
delegation tokens for {{hdfs://}} rather than {{webhdfs://}}. Once I fixed 
this, setting {{HADOOP_TOKEN_FILE_LOCATION}} worked as expected.

> webhdfs:// needs to support provided delegation tokens
> ------------------------------------------------------
>
>                 Key: HDFS-7984
>                 URL: https://issues.apache.org/jira/browse/HDFS-7984
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: webhdfs
>    Affects Versions: 3.0.0
>            Reporter: Allen Wittenauer
>            Priority: Blocker
>
> When using the webhdfs:// filesystem (especially from distcp), we need the 
> ability to inject a delegation token rather than webhdfs initialize its own.  
> This would allow for cross-authentication-zone file system accesses.



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

Reply via email to