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

Cheolsoo Park updated PIG-3066:
-------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

Thank you for the review, Santhosh.

I committed it to trunk.
                
> Fix TestPigRunner in trunk
> --------------------------
>
>                 Key: PIG-3066
>                 URL: https://issues.apache.org/jira/browse/PIG-3066
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.12
>            Reporter: Cheolsoo Park
>            Assignee: Cheolsoo Park
>             Fix For: 0.12
>
>         Attachments: PIG-3066.patch
>
>
> This is a regression from PIG-2924. The size of output in PigStats used to be 
> off by 1 byte per store, but that was fixed by PIG-2924. However, two test 
> cases in {{TestPigRunner}} wasn't corrected, so they fail in trunk.
> The reason why the size of output in PigStats were off by 1 byte per store is 
> because the size variable was initialized by -1 instead of 0.
> {code}
> long bytes = -1;
> ...
> bytes += status.getLen();
> ...
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to