Return-Path: X-Original-To: apmail-hadoop-mapreduce-dev-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-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 18A5B6F0E for ; Mon, 30 May 2011 17:15:29 +0000 (UTC) Received: (qmail 5300 invoked by uid 500); 30 May 2011 17:15:28 -0000 Delivered-To: apmail-hadoop-mapreduce-dev-archive@hadoop.apache.org Received: (qmail 5209 invoked by uid 500); 30 May 2011 17:15:28 -0000 Mailing-List: contact mapreduce-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-dev@hadoop.apache.org Delivered-To: mailing list mapreduce-dev@hadoop.apache.org Received: (qmail 5194 invoked by uid 99); 30 May 2011 17:15:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 May 2011 17:15:28 +0000 X-ASF-Spam-Status: No, hits=-1996.4 required=5.0 tests=ALL_TRUSTED,FS_REPLICA,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 May 2011 17:15:27 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 78823E96FA for ; Mon, 30 May 2011 17:14:47 +0000 (UTC) Date: Mon, 30 May 2011 17:14:47 +0000 (UTC) From: "Dan Harvey (JIRA)" To: mapreduce-dev@hadoop.apache.org Message-ID: <45721551.53788.1306775687490.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (MAPREDUCE-2546) MRunit ReduceDriver does not fully replicate the reducers behaviour with reusing pointers over the iterator MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 MRunit ReduceDriver does not fully replicate the reducers behaviour with reusing pointers over the iterator ----------------------------------------------------------------------------------------------------------- Key: MAPREDUCE-2546 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2546 Project: Hadoop Map/Reduce Issue Type: Bug Components: contrib/mrunit Affects Versions: 0.21.0, 0.20.2, 0.20.1 Reporter: Dan Harvey Priority: Minor The MRunit ReduceDriver does not replicate the behaviour of re-using the pointer to the returned values as they are iterated over. This is a problem for testing as it does not fail when you are incorrectly storing this pointer for a value if you want to use it later on in the iteration over the values. The behaviour should be modified so the iterator will return the same pointer every time. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira