You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Cheolsoo Park (JIRA)" <ji...@apache.org> on 2013/10/16 21:39:44 UTC

[jira] [Updated] (PIG-3117) A debug mode in which pig does not delete temporary files

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

Cheolsoo Park updated PIG-3117:
-------------------------------

    Attachment: PIG-3117-1.patch

[~ihadanny], sorry for the late review. It looks good to me.

I made some minor changes to your patch as follows:
* Added a static variable for the new property name to PigConfiguration.
* Moved the documentation from src/pig-default.properties to conf/pig.properties.
* Simplified the unit test.
* Replaced tabs with 4 blank spaces.

If this looks good to you, I will commit it (PIG-3117-1.patch). Let me know!

> A debug mode in which pig does not delete temporary files
> ---------------------------------------------------------
>
>                 Key: PIG-3117
>                 URL: https://issues.apache.org/jira/browse/PIG-3117
>             Project: Pig
>          Issue Type: Wish
>    Affects Versions: 0.10.0, 0.11.1
>            Reporter: Ido Hadanny
>            Assignee: Ido Hadanny
>         Attachments: PIG-3117-1.patch, remove_intermediate_results.diff
>
>
> when we debug our pig jobs on pre-production data, we usually find bugs we couldn't detect in our UT, as env and data are not quite the same.
> when the final output of a script is not quite what we expect, we start divide-and-conquer, running it line by line and inspecting the intermediate output of each stage. 
> It would be great if we could simply configure pig not to delete the intermediate MR outputs, and store them as plaintext instead of snappy format.



--
This message was sent by Atlassian JIRA
(v6.1#6144)