You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Yiping Han (JIRA)" <ji...@apache.org> on 2008/07/18 19:42:31 UTC
[jira] Commented: (PIG-297) RM a non-existing file should not fail
the script
[ https://issues.apache.org/jira/browse/PIG-297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12614816#action_12614816 ]
Yiping Han commented on PIG-297:
--------------------------------
Olga, I would support your proposal. My patch is a quick recipe for myself:-) Do you have anyone to make the quick change or I just submit another patch?
> RM a non-existing file should not fail the script
> -------------------------------------------------
>
> Key: PIG-297
> URL: https://issues.apache.org/jira/browse/PIG-297
> Project: Pig
> Issue Type: Improvement
> Components: grunt
> Reporter: Yiping Han
> Priority: Minor
> Attachments: PIG-297.patch
>
>
> rm is commonly used to remove the existing output before re-execute a script. However, when the output is not existing, rm will fail and grunt will terminate the execution. Such a behavior is very inconvenience. Expected grunt behavior would print some error message and continue to execute the script.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.