pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Santhosh Srinivasan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (PIG-3066) Fix TestPigRunner in trunk
Date Thu, 27 Dec 2012 02:28:12 GMT

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

Santhosh Srinivasan updated PIG-3066:
-------------------------------------

    Hadoop Flags: Reviewed

The review is at https://reviews.apache.org/r/8313/
                
> 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

Mime
View raw message