Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 1304 invoked from network); 18 Jan 2007 19:06:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Jan 2007 19:06:53 -0000 Received: (qmail 21704 invoked by uid 500); 18 Jan 2007 19:06:59 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 21656 invoked by uid 500); 18 Jan 2007 19:06:59 -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 21447 invoked by uid 99); 18 Jan 2007 19:06:58 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Jan 2007 11:06:58 -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; Thu, 18 Jan 2007 11:06:50 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 530D27142B6 for ; Thu, 18 Jan 2007 11:06:30 -0800 (PST) Message-ID: <12597854.1169147190337.JavaMail.jira@brutus> Date: Thu, 18 Jan 2007 11:06:30 -0800 (PST) From: "Owen O'Malley (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Created: (HADOOP-904) OutputFormat should be given the reduce id directly rather than a filename MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org OutputFormat should be given the reduce id directly rather than a filename -------------------------------------------------------------------------- Key: HADOOP-904 URL: https://issues.apache.org/jira/browse/HADOOP-904 Project: Hadoop Issue Type: Improvement Components: mapred Affects Versions: 0.10.1 Reporter: Owen O'Malley Assigned To: Owen O'Malley Fix For: 0.11.0 The OutputFormat API should be changed to be more evolution proof: public interface OutputFormatContext { JobConf getJobConf(); Progressable getProgress(); } public interface OutputFormat { RecordReader getRecordReader(int reduce, OutputFormatContext context) throws IOException; void checkOutputSpecs(OutputFormatContext context) throws IOException; } And OutputFormatBase would be renamed: public abstract class FileOutputFormat implements OutputFormat { protected Path getOutputPath(int reduce, OutputFormatContext context) throws IOException { ... } ... current OutputFormatBase methods ... } -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira