[
https://issues.apache.org/jira/browse/HADOOP-6994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13017652#comment-13017652
]
Suresh Srinivas commented on HADOOP-6994:
-----------------------------------------
# AbstractFileSystem.java
# #getDelegationTokens() - Javadoc says "Get a new delegation token for this
file system.". It would be good to explain it as "Get one or more delegations
tokens associated with the filesystem. Normally a file system returns a single
delegation token. A file system that manages multiple file systems underneath,
could return set of delegation tokens for all the file systems it manages."This
comment applies to FileSystem also.
# When a file system returns multiple delegation tokens, how does renew and
cancel work? Woudl the file system know where to renew/cancel the token?
> Api to get delegation token in AbstractFileSystem
> -------------------------------------------------
>
> Key: HADOOP-6994
> URL: https://issues.apache.org/jira/browse/HADOOP-6994
> Project: Hadoop Common
> Issue Type: Improvement
> Reporter: Jitendra Nath Pandey
> Assignee: Jitendra Nath Pandey
> Attachments: HADOOP-6994.1.patch, HADOOP-6994.2.patch,
> HADOOP-6994.4.patch, HADOOP-6994.5.patch
>
>
> APIs to get delegation tokens is required in AbstractFileSystem.
> AbstractFileSystems are accessed via file context therefore an API to get
> list of AbstractFileSystems accessed in a path is also needed.
> A path may refer to several file systems and delegation tokens could be
> needed for many of them for a client to be able to successfully access the
> path.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira