[ 
https://issues.apache.org/jira/browse/MAPREDUCE-238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Amareshwari Sriramadasu resolved MAPREDUCE-238.
-----------------------------------------------

    Resolution: Fixed

This is incorporated in HADOOP-1230

> OutputFormat should be given the reduce id directly rather than a filename
> --------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-238
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-238
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>            Reporter: Owen O'Malley
>            Assignee: Owen O'Malley
>
> The OutputFormat API should be changed to be more evolution proof:
> public interface OutputFormatContext {
>   JobConf getJobConf();
>   Progressable getProgress();
> }
> public interface OutputFormat {
>   RecordWriter getRecordWriter(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.
-
You can reply to this email to add a comment to the issue online.

Reply via email to