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

Owen O'Malley commented on HADOOP-6520:
---------------------------------------

I'd flip the test around so that we don't load tokens if we are in the simple 
authentication.

It also should leave the kerberos flag turned on even if there is a token file.

I'd also suggest changing the name to HADOOP_TOKEN_FILE and making it a static 
final string constant.

> UGI should load tokens from the environment
> -------------------------------------------
>
>                 Key: HADOOP-6520
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6520
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Owen O'Malley
>         Attachments: h-6520.patch
>
>
> For MapReduce tasks, we need not only the task itself, but child processes to 
> get the delegation tokens, therefore we need an environment variable that if 
> set loads a token cache into the login UGI. The task tracker can set this 
> property so that tasks (and child processes of the tasks, such as streaming 
> and pipes) have the job's tokens automatically.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to