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

Ying Zhang commented on YARN-5287:
----------------------------------

Thanks Naganarasimha. I've tested my change with 3-node cluster, and it works 
as expected.
I've currently working on adding unit test, and I've found the current 
test-container-executor is not working when running as root (which is required 
for testing initialize app or run container), for example, under root, run 
"test-container-executor <myusername>". So I've made some minor change there. 
Have you encountered the same problem?

> 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
>            Assignee: Ying Zhang
>            Priority: Minor
>         Attachments: YARN-5287-naga.patch, 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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to