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

Daniel Dai updated PIG-258:
---------------------------

    Attachment: clearoutput2.patch

Some changes in the patch:
1. Use log.warn instead of throw exception/log.error
2. To prevent double deletion, check if output file is inside temp file list 
before putting into deleteOnFail
3. Add new testcase TestDeleteOnFail

> Pig should cleanup output directory of a failed query
> -----------------------------------------------------
>
>                 Key: PIG-258
>                 URL: https://issues.apache.org/jira/browse/PIG-258
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Olga Natkovich
>            Priority: Minor
>         Attachments: clearoutput.patch, clearoutput2.patch
>
>
> Currently, after a failed store, the output directory is left behind and 
> can't be re-used without manual cleanup

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to