You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@crunch.apache.org by "Gabriel Reid (JIRA)" <ji...@apache.org> on 2013/04/05 21:31:16 UTC

[jira] [Created] (CRUNCH-191) Object reuse bug in o.a.c.lib.Distinct

Gabriel Reid created CRUNCH-191:
-----------------------------------

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


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