[ https://issues.apache.org/jira/browse/MAPREDUCE-4616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13474351#comment-13474351 ]
Hudson commented on MAPREDUCE-4616: ----------------------------------- Integrated in Hadoop-Hdfs-trunk-Commit #2908 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2908/]) MAPREDUCE-4616. Improve javadoc for MultipleOutputs. Contributed by Tony Burton. (Revision 1397182) Result = SUCCESS acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1397182 Files : * /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt * /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/lib/output/LazyOutputFormat.java * /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/lib/output/MultipleOutputs.java > Improvement to MultipleOutputs javadocs > --------------------------------------- > > Key: MAPREDUCE-4616 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-4616 > Project: Hadoop Map/Reduce > Issue Type: Improvement > Components: documentation > Affects Versions: 1.0.3 > Reporter: Tony Burton > Priority: Minor > Fix For: 2.0.3-alpha > > Attachments: MAPREDUCE-4616.patch, MAPREDUCE-4616.patch > > > In the new API, and using MultipleOutputs it is possible to segment output > into directories by using MultipleOutputs.write(KEYOUT key, VALUEOUT value, > String baseOutputPath) in the Reducer to determine the output directory, and > by using LazyOutputFormat at the job-level config to suppress normal output > [eg use LazyOutputFormat.setOutputFormatClass(job, TextOutputFormat.class); > instead of job.setOutputFormatClass(TextOutputFormat.class);] > This recreates the functionality previously provided in the old API by using > MultipleTextOutputFormat (etc) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira