You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Ying Zhang (JIRA)" <ji...@apache.org> on 2016/07/12 03:18:11 UTC

[jira] [Issue Comment Deleted] (YARN-5287) LinuxContainerExecutor fails to set proper permission

     [ https://issues.apache.org/jira/browse/YARN-5287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ying Zhang updated YARN-5287:
-----------------------------
    Comment: was deleted

(was: I have a simple patch here. I've tested it with my 3-node cluster. It works as expected.
What the patch does is explicitly setting the required permission for each newly created local directory.
Would someone please review the fix and see if there is anything missing? Thank you:-))

> LinuxContainerExecutor fails to set proper permission
> -----------------------------------------------------
>
>                 Key: YARN-5287
>                 URL: https://issues.apache.org/jira/browse/YARN-5287
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: nodemanager
>    Affects Versions: 2.7.2
>            Reporter: Ying Zhang
>            Priority: Minor
>         Attachments: YARN-5287.001.patch
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> LinuxContainerExecutor fails to set the proper permissions on the local directories(i.e., /hadoop/yarn/local/usercache/... by default) if the cluster has been configured with a restrictive umask, e.g.: umask 077. Job failed due to the following reason:
> Path /hadoop/yarn/local/usercache/ambari-qa/appcache/application_xxxxxxxx has permission 700 but needs permission 750



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org