[ 
https://issues.apache.org/jira/browse/HADOOP-6520?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Devaraj Das updated HADOOP-6520:
--------------------------------

    Attachment: h-6520.patch

Attaching a patch for common. For the mapreduce part, we need to have a 
separate jira. This patch disables kerberos login when the env var is set. In 
the method getLoginUser in UserGroupInformation, the token file is read and 
tokens are loaded.
Thoughts?

> 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