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, 19 May 2015 23:58:01 GMT

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

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

Using the WebHDFS REST API, one can provide a delegation token as follows:
{code}
curl "http://<HOST>:<PORT>/webhdfs/v1/<PATH>?delegation=<TOKEN>&op=..."
{code}

It seems one should be able to provide a delegation token when using {{webhdfs://}} URIs as
well. I tried setting the {{HADOOP_TOKEN_FILE_LOCATION}} environment variable, but the WebHdfsFileSystem
doesn't seem to use this provided token.

> 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