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

Amareshwari Sriramadasu commented on HADOOP-3182:
-------------------------------------------------

bq. In Task.moveTaskOutputs(...), is finalOutputPath a constant? 
No, that is calculated from the parameters to moveTaskOutputs() and is called 
recursively.

bq. Miscellaneous dirs: Current using the default permission, i.e. umask. What 
is the correct permission for them???
The miscellaneous directories (submitJobdir/files, submitJobdir/archives, 
submitJobdir/libjars) should have permissions same as submitJobDir. Patch 
should address this one also.


> JobClient creates submitJobDir with SYSTEM_DIR_PERMISSION ( rwx-wx-wx)
> ----------------------------------------------------------------------
>
>                 Key: HADOOP-3182
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3182
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: mapred
>    Affects Versions: 0.16.2
>            Reporter: lohit vijayarenu
>            Assignee: Tsz Wo (Nicholas), SZE
>            Priority: Blocker
>             Fix For: 0.16.3, 0.17.0
>
>         Attachments: 3182_20080408.patch, 3182_20080408_0.16.patch
>
>
> JobClient creates submitJobDir with SYSTEM_DIR_PERMISSION ( rwx-wx-wx ) which 
> causes problem while sharing a cluster.
> Consider the case where userA starts jobtracker/tasktrackers and userB 
> submits a job to this cluster. When userB creates submitJobDir it is created 
> with rwx-wx-wx which cannot be read by tasktracker started by userA

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