[jira] [Updated] (YARN-106) Nodemanager needs to set permissions of local directories
[ https://issues.apache.org/jira/browse/YARN-106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Allen Wittenauer updated YARN-106: -- Fix Version/s: (was: 3.0.0) > 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 > Fix For: 2.0.2-alpha, 0.23.4 > > Attachments: YARN-106.patch, 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 was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (YARN-106) Nodemanager needs to set permissions of local directories
[ https://issues.apache.org/jira/browse/YARN-106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arun C Murthy updated YARN-106: --- Fix Version/s: (was: 2.0.3-alpha) 2.0.2-alpha > 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 > Fix For: 2.0.2-alpha, 0.23.4, 3.0.0 > > Attachments: YARN-106.patch, 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
[jira] [Updated] (YARN-106) Nodemanager needs to set permissions of local directories
[ https://issues.apache.org/jira/browse/YARN-106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Lowe updated YARN-106: Attachment: YARN-106.patch Failure was due to a bogus URI being used by TestContainerLogsPage that should have failed originally, but URIs in local/log dirs aren't handled properly. See YARN-33. Updated the TestContainerLogsPage to fix the URI so it points to a path that can be created. YARN-33 will handle cleaning up DirectoryCollection and/or LocalDirsHandlerService to deal with URIs in the local/log dir config. > 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, > 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
[jira] [Updated] (YARN-106) Nodemanager needs to set permissions of local directories
[ https://issues.apache.org/jira/browse/YARN-106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Lowe updated YARN-106: Attachment: YARN-106.patch Thanks for taking another look. Normally the checkDirs() call right afterwards will encounter the same error and update the configuration's directory list, but I agree it should explicitly handle it just in case. I updated the patch accordingly. > 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
[jira] [Updated] (YARN-106) Nodemanager needs to set permissions of local directories
[ https://issues.apache.org/jira/browse/YARN-106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Lowe updated YARN-106: Attachment: YARN-106.patch OK I'm convinced, thanks for the clarification. Attaching a new patch where it will create missing local/log directories as mode 0755 but will leave existing directories untouched. > 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 > > > 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
[jira] [Updated] (YARN-106) Nodemanager needs to set permissions of local directories
[ https://issues.apache.org/jira/browse/YARN-106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Lowe updated YARN-106: Attachment: YARN-106.patch Patch to change {{DirectoryCollection}} so it also takes the permissions for directories and updating {{LocalDirsHandlerService}} to pass appropriate permissions. > 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 > 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