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

Dmitriy V. Ryaboy commented on PIG-2028:
----------------------------------------

Nice speed improvement!
A nitpick: if the test is interrupted, it will leave test files in the working 
directory; that's messy and causes failures on reruns (since the files already 
exist). It's better to write to and load from a temp directory created inside 
java.io.tmpdir, and to set deleteOnExit() on them.

> Speed up multiquery unit tests 
> -------------------------------
>
>                 Key: PIG-2028
>                 URL: https://issues.apache.org/jira/browse/PIG-2028
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.9.0
>            Reporter: Richard Ding
>            Assignee: Richard Ding
>             Fix For: 0.9.0
>
>         Attachments: PIG-2028.patch
>
>
> Switch TestMultiQueryBasic and TestMultiQuery to use LOCAL mode. The results 
> on my laptop:
> Using Mini Cluster:
> TestMultiQueryBasic: 17 min 17 sec
> TestMultiQuery:      23 min 2 sec
> Using LOCAL mode:
> TestMultiQueryBasic: 4 min 17 sec
> TestMultiQuery:      5 min 51 sec

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to