[
https://issues.apache.org/jira/browse/HDFS-7984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15032689#comment-15032689
]
Allen Wittenauer commented on HDFS-7984:
----------------------------------------
If I understand the code change correctly, I'm sort of surprised this doesn't
work:
on user account1:
{code}
hdfs fetchdt /tmp/token
chmod a+r /tmp/token
{code}
on user account2:
{code}
hadoop fs -Dhadoop.token.file=/tmp/token -ls /user/account1
{code}
Both hdfs and webhdfs are failing this simple test.
> 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
> Assignee: HeeSoo Kim
> Priority: Blocker
> Attachments: HDFS-7984.001.patch, HDFS-7984.002.patch,
> HDFS-7984.003.patch, HDFS-7984.004.patch, HDFS-7984.005.patch,
> HDFS-7984.006.patch, HDFS-7984.007.patch, HDFS-7984.patch
>
>
> 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)