[ 
https://issues.apache.org/jira/browse/YARN-7333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jason Lowe updated YARN-7333:
-----------------------------
    Attachment: YARN-7333.001.patch

Attaching a patch that avoids opening the file unless we believe it is a 
directory and then calls chmod to fix permissions if the user doesn't have 
read, write, and execute permissions on it.


> container-executor fails to remove entries from a directory that is not 
> writable or executable
> ----------------------------------------------------------------------------------------------
>
>                 Key: YARN-7333
>                 URL: https://issues.apache.org/jira/browse/YARN-7333
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 2.9.0, 3.0.0-alpha1, 2.8.2
>            Reporter: Jason Lowe
>            Assignee: Jason Lowe
>            Priority: Critical
>         Attachments: YARN-7333.001.patch
>
>
> Similar to the situation from YARN-4594, container-executor will fail to 
> cleanup directories that do not have write and execute permissions for the 
> directory.  YARN-4594 fixed the scenario where the directory is not readable, 
> but it missed the case where we can open the directory but either not 
> traverse it (i.e.: no execute permission) or cannot remove entries from 
> within it (i.e.: no write permissions).



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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