[
https://issues.apache.org/jira/browse/YARN-106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13464458#comment-13464458
]
Siddharth Seth commented on YARN-106:
-------------------------------------
Unless I'm missing something, the checkDirs() call after may not attempt to
check these dirs since the directory creation failed, and they no longer exist
in the {{localDirs}} collection.
The patch to add the explicit check looks good. +1. Need someone to kick
jenkins before committing it.
> 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, YARN-106.patch, 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