[
https://issues.apache.org/jira/browse/YARN-5658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15637299#comment-15637299
]
Daniel Templeton commented on YARN-5658:
----------------------------------------
YARN-2261 isn't itself sufficient. It provides the hook to run arbitrary code,
but unless all those AMs are extended to use YARN-2261 to offer a mechanism to
delete a directory, it doesn't help me here.
Using YARN-2261 here seems like overkill. I want to delete a directory in
HDFS, so have to allocate a container and run a script to launch another JVM to
talk to HDFS to delete the directory.
> YARN should have a hook to delete a path from HDFS when an application ends
> ---------------------------------------------------------------------------
>
> Key: YARN-5658
> URL: https://issues.apache.org/jira/browse/YARN-5658
> Project: Hadoop YARN
> Issue Type: Improvement
> Components: resourcemanager
> Reporter: Daniel Templeton
> Assignee: Daniel Templeton
>
> There are many cases when a client uploads data to HDFS and then needs to
> subsequently clean it up, such as with the distributed cache. It would be
> helpful if YARN would do that cleanup automatically on job completion.
> The hook could be generic to an URI supported by {{FileSystem}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]