hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Lowe (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-4594) container-executor fails to remove directory tree when chmod required
Date Fri, 21 Jul 2017 19:50:00 GMT

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

Jason Lowe updated YARN-4594:
-----------------------------
    Fix Version/s: 2.8.2

I committed this to branch-2.8 and branch-2.8.2 as well.

> container-executor fails to remove directory tree when chmod required
> ---------------------------------------------------------------------
>
>                 Key: YARN-4594
>                 URL: https://issues.apache.org/jira/browse/YARN-4594
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: nodemanager
>            Reporter: Colin P. McCabe
>            Assignee: Colin P. McCabe
>             Fix For: 2.9.0, 3.0.0-alpha1, 2.8.2
>
>         Attachments: YARN-4594.001.patch, YARN-4594.002.patch, YARN-4594.003.patch, YARN-4594.004.patch
>
>
> test-container-executor.c doesn't work:
> * It assumes that realpath(/bin/ls) will be /bin/ls, whereas it is actually /usr/bin/ls
on many systems.
> * The recursive delete logic in container-executor.c fails -- nftw does the wrong thing
when confronted with directories with the wrong mode (permission bits), leading to an attempt
to run rmdir on a non-empty directory.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message