Return-Path: X-Original-To: apmail-incubator-crunch-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-crunch-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4DAA5DA67 for ; Sun, 7 Oct 2012 23:40:03 +0000 (UTC) Received: (qmail 51792 invoked by uid 500); 7 Oct 2012 23:40:02 -0000 Delivered-To: apmail-incubator-crunch-dev-archive@incubator.apache.org Received: (qmail 51754 invoked by uid 500); 7 Oct 2012 23:40:02 -0000 Mailing-List: contact crunch-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: crunch-dev@incubator.apache.org Delivered-To: mailing list crunch-dev@incubator.apache.org Received: (qmail 51745 invoked by uid 99); 7 Oct 2012 23:40:02 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Oct 2012 23:40:02 +0000 Date: Sun, 7 Oct 2012 23:40:02 +0000 (UTC) From: "Josh Wills (JIRA)" To: crunch-dev@incubator.apache.org Message-ID: <1737583256.7267.1349653202709.JavaMail.jiratomcat@arcas> In-Reply-To: <450727486.4933.1349527383505.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (CRUNCH-90) Object reuse is not accounted for in mapper fusion MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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