hadoop-common-issues mailing list archives

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

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

Devaraj Das commented on HADOOP-6520:
-------------------------------------

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

That's true. I was thinking about doing it in a future jira since it involves couple of mapreduce
jiras - MAPREDUCE-1383 & MAPREDUCE-1338, but okay I will put that effort in this jira
& MAPREDUCE-1432.

> 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