hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anthony Hsu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-7984) webhdfs:// needs to support provided delegation tokens
Date Tue, 26 May 2015 22:53:18 GMT

    [ 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)

Mime
View raw message