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

Hitesh Shah commented on TEZ-1216:
----------------------------------

[~bikassaha] Updated the patch. Please take a look. Scratch dir now only being 
deleted on successful unregistration. I am still not sure on whether we should 
delete the dir when unregister fails ( even though this may be the last attempt 
). This has problems as the next attempt will come up with no recovery data to 
read and end up with the AM lingering around until it times out. 

> Clean up the staging directory when the application completes
> -------------------------------------------------------------
>
>                 Key: TEZ-1216
>                 URL: https://issues.apache.org/jira/browse/TEZ-1216
>             Project: Apache Tez
>          Issue Type: Sub-task
>            Reporter: Mohammad Kamrul Islam
>            Assignee: Hitesh Shah
>            Priority: Critical
>         Attachments: TEZ-1216.1.patch, TEZ-1216.2.patch
>
>
> This JIRA is a part of TEZ-693. It includes the removal of stage directory 
> when application's last attempt is done. In addition, it will check a config 
> to determine whether to auto clean it or not.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to