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

Gabriel Reid updated CRUNCH-191:
--------------------------------

    Attachment: CRUNCH-191.patch

Patch to resolve issue.
                
> Object reuse bug in o.a.c.lib.Distinct
> --------------------------------------
>
>                 Key: CRUNCH-191
>                 URL: https://issues.apache.org/jira/browse/CRUNCH-191
>             Project: Crunch
>          Issue Type: Bug
>            Reporter: Gabriel Reid
>         Attachments: CRUNCH-191.patch
>
>
> A DoFn in the o.a.c.lib.Distinct class holds on to values in a local buffer, 
> but doesn't deep copy the values where necessary. This can lead to unexpected 
> issues with the well-known object-reuse bug, particularly if the same value 
> is used by multiple DoFns.

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