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

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

bq. I think doing "perm = perm | S_ISGID" will set the setGID bit regardless of 
the original permission,
Agree less riskier option is to go for the option 1 which is  {{umask(0027);}} 
before calling *mkdir*, but having said that doubt what i have is setGid is 
required for only the user's appcache folder or recursively for all its 
children ? if recursively done is there any folder which we create do not 
require this ?

In between, do we need to raise a new jira for 3.0.0-alpha2 so that release 
notes gets added in specific which is not required for 2.8 and 2.9 ?

> 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