[ 
https://issues.apache.org/jira/browse/YARN-106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13459068#comment-13459068
 ] 

Siddharth Seth commented on YARN-106:
-------------------------------------

Not the best example - but a single user setup does not need 0755 for the 
public cache. I don't think a non LCE cluster needs this either. 
If admins happen to have pre-created the dirs with specific permissions - I 
don't think we should try changing them
1) admins are aware of these directories since they've been explicitly 
configured. If they exist, they've likely been created with whatever 
permissions are required for the cluster.
2) the YARN user may not have privileges to change permission (may still be 
able to write to the dir) - in which case the dir is marked as unusable.

                
> Nodemanager needs to set permissions of local directories
> ---------------------------------------------------------
>
>                 Key: YARN-106
>                 URL: https://issues.apache.org/jira/browse/YARN-106
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: nodemanager
>    Affects Versions: 0.23.3, 2.0.0-alpha
>            Reporter: Jason Lowe
>            Assignee: Jason Lowe
>         Attachments: YARN-106.patch
>
>
> If the nodemanager process is running with a restrictive default umask (e.g.: 
> 0077) then it will create its local directories with permissions that are too 
> restrictive to allow containers from other users to run.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to