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

Gabriel Reid updated CRUNCH-90:
-------------------------------

    Attachment: CRUNCH-90.patch

Patch to fix the issue, as well as tests that demonstrate it. If there are no 
objections, I'll commit this shortly.
                
> Object reuse is not accounted for in mapper fusion
> --------------------------------------------------
>
>                 Key: CRUNCH-90
>                 URL: https://issues.apache.org/jira/browse/CRUNCH-90
>             Project: Crunch
>          Issue Type: Bug
>            Reporter: Gabriel Reid
>            Assignee: Gabriel Reid
>         Attachments: CRUNCH-90.patch
>
>
> When multiple DoFns are run over the same output (i.e. in the case of mapper 
> fusion), the same value object is passed to multiple underlying DoFns. If the 
> state of that value object is changed by one DoFn, other DoFns are called 
> with the updated object.
> This is a situation that can happen quite easily when the input of a DoFn is 
> simply updated and then emitted. In general, this bug will only affect values 
> whose type is the same as the underlying serialization type.

--
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