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

Kihwal Lee commented on HADOOP-9374:
------------------------------------

+1 It supersedes the existing feature of setting 
"mapreduce.job.credentials.json", since JobContext.ugi will be the same current 
user ugi which the option parser adds the tokens to, at least for the CLIs we 
have today.
                
> Add tokens from -tokenCacheFile into UGI
> ----------------------------------------
>
>                 Key: HADOOP-9374
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9374
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: security
>    Affects Versions: 2.0.0-alpha, 3.0.0, 0.23.7
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>         Attachments: HADOOP-9374.patch
>
>
> {{GenericOptionsParser}} accepts a {{-tokenCacheFile}} option.  However, it 
> only sets the {{mapreduce.job.credentials.json}} conf value instead of also 
> adding the tokens to the UGI so they are usable by the command being executed.

--
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

Reply via email to