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 "Haibo Chen (JIRA)" <ji...@apache.org> on 2016/10/31 23:53:58 UTC

[jira] [Comment Edited] (YARN-5765) LinuxContainerExecutor creates appcache and its subdirectories with wrong group owner.

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

Haibo Chen edited comment on YARN-5765 at 10/31/16 11:53 PM:
-------------------------------------------------------------

This is what I am doing.
{code}
 if ((sb.st_mode & S_ISUID) != 0) {
        perm = perm | S_ISUID;
      }
if ((sb.st_mode & S_ISGID) != 0) {
        perm = perm | S_ISGID;
}
{code}
But from the test that I have done, it seems like I am still missing something, this change alone does not fix everything. I am chasing it down.


was (Author: haibochen):
This is what I am doing.
{code:c}
 if ((sb.st_mode & S_ISUID) != 0) {
        perm = perm | S_ISUID;
      }
if ((sb.st_mode & S_ISGID) != 0) {
        perm = perm | S_ISGID;
}
{code}
But from the test that I have done, it seems like I am still missing something, this change alone does not fix everything. I am chasing it down.

> 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: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org