hadoop-mapreduce-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rohit Dandona (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MAPREDUCE-4773) MultipleOutput with different output path for each
Date Tue, 06 Nov 2012 06:36:14 GMT
Rohit Dandona created MAPREDUCE-4773:

             Summary: MultipleOutput with different output path for each 
                 Key: MAPREDUCE-4773
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4773
             Project: Hadoop Map/Reduce
          Issue Type: Improvement
            Reporter: Rohit Dandona

Is it possible to have multiple outputs in a map reduce code where each output is directed
to a different path ?

FileOutputFormat.setOutputPath(job, new Path(outputPath));

MultipleOutputs.addNamedOutput(job, "Output 1", TextOutputFormat.class, Text.class, Text.class);

MultipleOutputs.addNamedOutput(job, "Output 2", TextOutputFormat.class, Text.class, Text.class);

Can "Output 1" & "Output 2" be alloted seperate paths ?

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

View raw message