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

Bikas Saha commented on TEZ-1216:
---------------------------------

Per offline discussion with Hitesh, we will keep the existing behavior so that 
we try our best to clean up in cases other than preemption. For preemption, if 
we have been preempted so many times then it something else is wrong. 
Please do consider changing the mention of staging dir to something like 
tmp-dir or scratch-dir. The current names/docs suggest that staging dir is 
being deleted which is scary to a user.

> 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