[
https://issues.apache.org/jira/browse/MAPREDUCE-5275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13673373#comment-13673373
]
Daryn Sharp commented on MAPREDUCE-5275:
----------------------------------------
Retro -1.
Why are we resurrecting APIs marked "@InterfaceAudience.Private" in 1.x? And
now making them public in 2.x?
{{TokenCache#getDelegationToken}} was intentionally removed since it is
fundamentally incompatible with multi-token filesystems like viewfs. It's also
not legitimate for external callers to be guessing/assuming the token key for a
fs. In fact, it's about to change soon, so this method cannot be retained.
> Mapreduce API: TokenCache incompatibility issues with MR1
> ---------------------------------------------------------
>
> Key: MAPREDUCE-5275
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-5275
> Project: Hadoop Map/Reduce
> Issue Type: Sub-task
> Reporter: Zhijie Shen
> Assignee: Mayank Bansal
> Fix For: 2.1.0-beta
>
> Attachments: MAPREDUCE-5275-trunk-1.patch,
> MAPREDUCE-5275-trunk-2.patch, MAPREDUCE-5275-trunk-3.patch,
> MAPREDUCE-5275-trunk-4.patch
>
>
> There're following incompatibility issues:
> * Token<DelegationTokenIdentifier> getDelegationToken(Credentials, String) is
> removed
> * Credentials loadTokens(String, Configuration) changes to Credentials
> loadTokens(String, JobConf)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira