crunch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gabriel Reid (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CRUNCH-191) Object reuse bug in o.a.c.lib.Distinct
Date Fri, 05 Apr 2013 19:35:16 GMT

     [ 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

Mime
View raw message