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

Josh Wills commented on CRUNCH-90:
----------------------------------

Will take a look this evening and see if I can come up with a fix.
                
> 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
>             Fix For: 0.4.0
>
>         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