[
https://issues.apache.org/jira/browse/PIG-1347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12871514#action_12871514
]
Daniel Dai commented on PIG-1347:
---------------------------------
In current code, we use StoreFunc.cleanupOnFailure for this purpose.
FileLocalizer.deleteOnFail should be removed. So this issue is fixed in trunk,
we should remove redundant code.
> Clear up output directory for a failed job
> ------------------------------------------
>
> Key: PIG-1347
> URL: https://issues.apache.org/jira/browse/PIG-1347
> Project: Pig
> Issue Type: Bug
> Components: impl
> Affects Versions: 0.7.0
> Reporter: Daniel Dai
> Assignee: Ashitosh Darbarwar
> Fix For: 0.8.0
>
>
> FileLocalizer.deleteOnFail suppose to track the output files need to be
> deleted in case the job fails. However, in the current code base,
> deleteOnFail is dangling. registerDeleteOnFail and triggerDeleteOnFail is
> called by nobody. We need to bring it back.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.