[
https://issues.apache.org/jira/browse/MAPREDUCE-1566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12891389#action_12891389
]
Jitendra Nath Pandey commented on MAPREDUCE-1566:
-------------------------------------------------
When credentials object reads a token from file, it clears all exisiting
credentials. Therefore, merging the two will require another job and mapper
implementation. It will be cleaner to have a separate test. Also, the mechanism
to pass tokens via a file is not much related to TokenCache except that it uses
obtainTokensFromNamenodeInternal method.
> Also, in the mapper, we should look at the credentials via the APIs (as is
> done in TestTokenCache) instead of reading the file
The map task in the new test gets the tokens from credentials and verifies it
against the token in the file, therefore it also reads the file.
> Need to add a mechanism to import tokens and secrets into a submitted job.
> --------------------------------------------------------------------------
>
> Key: MAPREDUCE-1566
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-1566
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: security
> Reporter: Owen O'Malley
> Assignee: Owen O'Malley
> Fix For: 0.22.0
>
> Attachments: mr-1566-1.1.patch, mr-1566-1.patch, MR-1566.1.patch,
> MR-1566.2.patch, MR-1566.3.patch
>
>
> We need to include tokens and secrets into a submitted job. I propose adding
> a configuration attribute that when pointed at a token storage file will
> include the tokens and secrets from that token storage file.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.