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

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

Hi Naganarasimha, I've uploaded a new patch with a new test case included. I've 
run the "test-container-executor" with regular user and root. It passes.
As I said earlier, there is issue with the current test-container-executor when 
running under root. I have made some minor change to make it pass(to be 
specific, in test-container-executor.c, in function main(), when running as 
root, test_recursive_unlink_children() needs to be run before 
set_user(username). Not sure if it is correct, just a work-around). I don't 
think I should include it in this patch. Let me know your idea. 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
>            Assignee: Ying Zhang
>            Priority: Minor
>         Attachments: YARN-5287-naga.patch, YARN-5287.001.patch, 
> YARN-5287.002.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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to