[
https://issues.apache.org/jira/browse/MAPREDUCE-2762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13122734#comment-13122734
]
Vinod Kumar Vavilapalli commented on MAPREDUCE-2762:
----------------------------------------------------
It is simpler than that. Cleanup should always be the last step so that
recovery is possible. The control always returns to MRAppMaster, we can
override stop() in MRAppMaster and do the cleanup after stopping all the
components (super.stop()) without adding any new events.
What do you think?
> [MR-279] - Cleanup staging dir after job completion
> ---------------------------------------------------
>
> Key: MAPREDUCE-2762
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-2762
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mrv2
> Affects Versions: 0.23.0
> Reporter: Ramya Sunil
> Assignee: Mahadev konar
> Priority: Blocker
> Fix For: 0.23.0
>
> Attachments: MAPREDUCE-2762.patch, MAPREDUCE-2762.patch,
> MAPREDUCE-2762.patch
>
>
> The files created under the staging dir have to be deleted after job
> completion. Currently, all job.* files remain forever in the
> ${yarn.apps.stagingDir}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira