You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Devaraj Das (JIRA)" <ji...@apache.org> on 2010/02/06 19:13:27 UTC

[jira] Commented: (MAPREDUCE-1457) For secure job execution, couple of more UserGroupInformation.doAs needs to be added

    [ https://issues.apache.org/jira/browse/MAPREDUCE-1457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12830535#action_12830535 ] 

Devaraj Das commented on MAPREDUCE-1457:
----------------------------------------

Some comments:
In the trunk patch and in the Y20 patch, the call to task.taskCleanup in Child.java should be within a privileged block.
In the Y20 patch, the calls to JobHistory.initDone() and JobHistory.init() should be within privileged blocks, and use the JobTracker's ugi. Within JobHistory.logSubmitted, there is a call to set up the writer for userLogFile. That should be within a privileged block and use the user's ugi.

> For secure job execution, couple of more UserGroupInformation.doAs needs to be added
> ------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-1457
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1457
>             Project: Hadoop Map/Reduce
>          Issue Type: Sub-task
>    Affects Versions: 0.22.0
>            Reporter: Devaraj Das
>            Assignee: Jakob Homan
>             Fix For: 0.22.0
>
>         Attachments: MAPREDUCE-1457-BPY20.patch, MAPREDUCE-1457.patch
>
>
> During our testing in a kerberos environment, we had to add UserGroupInformation.doAs blocks in certain places.

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