Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 9108 invoked from network); 23 Jan 2007 16:20:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Jan 2007 16:20:13 -0000 Received: (qmail 61435 invoked by uid 500); 23 Jan 2007 16:20:17 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 61391 invoked by uid 500); 23 Jan 2007 16:20:16 -0000 Mailing-List: contact hadoop-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-dev@lucene.apache.org Delivered-To: mailing list hadoop-dev@lucene.apache.org Received: (qmail 61215 invoked by uid 99); 23 Jan 2007 16:20:16 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jan 2007 08:20:16 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jan 2007 08:20:09 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 235BD71408A for ; Tue, 23 Jan 2007 08:19:49 -0800 (PST) Message-ID: <17778487.1169569189130.JavaMail.jira@brutus> Date: Tue, 23 Jan 2007 08:19:49 -0800 (PST) From: "Andrzej Bialecki (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Created: (HADOOP-920) MapFileOutputFormat and SequenceFileOutputFormat use incorrect key/value classes in map/reduce tasks MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org MapFileOutputFormat and SequenceFileOutputFormat use incorrect key/value classes in map/reduce tasks ---------------------------------------------------------------------------------------------------- Key: HADOOP-920 URL: https://issues.apache.org/jira/browse/HADOOP-920 Project: Hadoop Issue Type: Bug Components: mapred Affects Versions: 0.11.0 Reporter: Andrzej Bialecki Fix For: 0.11.0 Let's assume a job uses different key/value class for the output of map tasks and for the final output of reduce tasks. When executing map tasks classes returned from JobConf.getMapOutputKeyClass() / getMapOutputValueClass() should be used, and when executing reduce tasks classes returned from JobConf.gtOutputKeyClass() / getOutputValueClass() should be used. Currently both map and reduce tasks will use getMapOutputKeyClass/getMapOutputValueClass when using MapFileOutputFormat, or they will always use getOutputKeyClassgetOutputValueClass when using SequenceFileOutputFormat. This causes exceptions, because Mapper / Reducer implementations will output different key/value classes than expected. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.