Return-Path: Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: (qmail 35655 invoked from network); 17 Jul 2009 16:55:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Jul 2009 16:55:34 -0000 Received: (qmail 94688 invoked by uid 500); 17 Jul 2009 16:56:39 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 94644 invoked by uid 500); 17 Jul 2009 16:56:39 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 94634 invoked by uid 99); 17 Jul 2009 16:56:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Jul 2009 16:56:39 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Jul 2009 16:56:36 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 0DC6F234C046 for ; Fri, 17 Jul 2009 09:56:15 -0700 (PDT) Message-ID: <1973808445.1247849775055.JavaMail.jira@brutus> Date: Fri, 17 Jul 2009 09:56:15 -0700 (PDT) From: "Hudson (JIRA)" To: mapreduce-issues@hadoop.apache.org Subject: [jira] Commented: (MAPREDUCE-680) Reuse of Writable objects is improperly handled by MRUnit MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/MAPREDUCE-680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12732603#action_12732603 ] Hudson commented on MAPREDUCE-680: ---------------------------------- Integrated in Hadoop-Mapreduce-trunk #25 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-Mapreduce-trunk/25/]) > Reuse of Writable objects is improperly handled by MRUnit > --------------------------------------------------------- > > Key: MAPREDUCE-680 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-680 > Project: Hadoop Map/Reduce > Issue Type: Bug > Reporter: Aaron Kimball > Assignee: Aaron Kimball > Fix For: 0.21.0 > > Attachments: MAPREDUCE-680.patch > > > As written, MRUnit's MockOutputCollector simply stores references to the objects passed in to its collect() method. Thus if the same Text (or other Writable) object is reused as an output containiner multiple times with different values, these separate values will not all be collected. MockOutputCollector needs to properly use io.serializations to deep copy the objects sent in. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.