You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Daniel Dai (JIRA)" <ji...@apache.org> on 2014/03/19 01:10:44 UTC

[jira] [Comment Edited] (PIG-3789) tuple in POStream binaryInputQueue keep changing

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

Daniel Dai edited comment on PIG-3789 at 3/19/14 12:10 AM:
-----------------------------------------------------------

The problem go away with the patch. Better to dive deep to figure out why it happens. This affects MultiQuery_11.


was (Author: daijy):
The problem go away with the patch. Better to dive deep to figure out why it happens. This affects ComputeSpec_3.

> tuple in POStream binaryInputQueue keep changing
> ------------------------------------------------
>
>                 Key: PIG-3789
>                 URL: https://issues.apache.org/jira/browse/PIG-3789
>             Project: Pig
>          Issue Type: Sub-task
>          Components: tez
>    Affects Versions: tez-branch
>            Reporter: Daniel Dai
>            Assignee: Daniel Dai
>             Fix For: tez-branch
>
>         Attachments: PIG-3789-1.patch, PIG-3789-2.patch
>
>
> Similar to the comments in POSimpleTezLoad:
> {code}
>     /**
>      * Previously, we reused the same Result object for all results, but we found
>      * certain operators (e.g. POStream) save references to the Result object and
>      * expect it to be constant.
>      */
> {code}
> Tuples put into binaryInputQueue get changed when it is actually processed. Not exactly sure why, but make a copy of the tuple solves the issue.



--
This message was sent by Atlassian JIRA
(v6.2#6252)