hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Owen O'Malley (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-6520) UGI should load tokens from the environment
Date Sat, 30 Jan 2010 06:07:34 GMT

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

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

I agree on the unit tests.

Shouldn't this be using the code in TokenStorage from  MAPREDUCE-1338? Replicating the code
to read the file into this class seems wrong. Unfortunately, we would need to move the TokenStorage
code down into Common...

> 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
>    Affects Versions: 0.22.0
>            Reporter: Owen O'Malley
>            Assignee: Devaraj Das
>             Fix For: 0.22.0
>
>         Attachments: h-6520.1.patch, h-6520.2.patch, 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.


Mime
View raw message