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

Naganarasimha G R commented on YARN-5765:
-----------------------------------------

I am assuming you are doing again {{stat(npath, &sb) != 0}} after {{if 
(mkdir(npath, perm) != 0)}} in the else block before the code block which you 
have shared...

We have been using the first approach {{umask(0027)}} in our code base for a 
while and i am pretty sure it should work fine, why not try that once ?

As its a blocker i plan to revert the YARN-5287 patch in 2.8, hope we can 
conclude on something earlier. 

> LinuxContainerExecutor creates appcache and its subdirectories with wrong 
> group owner.
> --------------------------------------------------------------------------------------
>
>                 Key: YARN-5765
>                 URL: https://issues.apache.org/jira/browse/YARN-5765
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 2.8.0, 3.0.0-alpha1
>            Reporter: Haibo Chen
>            Assignee: Haibo Chen
>            Priority: Blocker
>
> LinuxContainerExecutor creates usercache/\{userId\}/appcache/\{appId\} with 
> wrong group owner, causing Log aggregation and ShuffleHandler to fail because 
> node manager process does not have permission to read the files under the 
> directory.
> This can be easily reproduced by enabling LCE and submitting a MR example 
> job. 



--
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