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

Vinod K V commented on MAPREDUCE-915:
-------------------------------------

bq. I can log the command lines that is written to taskjvm.sh. For the purpose 
of debugging, that seems to make more sense than relying on the taskjvm.sh's 
contents.. I will upload a patch soon.

I guess the advantage of using the same file is, well, less files to manage, 
and perhaps, a bit of code-reuse.

I can't think of more uses for taskjvm.sh besides debugging. So +1 for the idea 
of logging the commands to TT's log and use the same file for debug-script 
command too.

> For secure environments, the Map/Reduce debug script must be run as the user.
> -----------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-915
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-915
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: security, tasktracker
>    Affects Versions: 0.21.0
>            Reporter: Hemanth Yamijala
>            Assignee: Devaraj Das
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: 915-4.patch, 915.1.patch, 915.2.patch, 915.patch
>
>
> The Taskcontroller model allows admins to set up a cluster configuration that 
> runs tasks as users. The debug script feature of Map/Reduce provided by the 
> configuration options: mapred.map.task.debug.script and 
> mapred.reduce.task.debug.script need to be run as the user as well in such 
> environments, rather than as the tasktracker user.

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