mrunit-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dandona, Rohit" <Rohit_Dand...@SYNTELINC.COM>
Subject MultipleOutput with different output path for each
Date Tue, 06 Nov 2012 06:42:33 GMT
Hi Guys,

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

e.g.
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 ?


Thanks & Regards
Rohit Dandona


Confidential: This electronic message and all contents contain information from Syntel, Inc.
which may be privileged, confidential or otherwise protected from disclosure. The information
is intended to be for the addressee only. If you are not the addressee, any disclosure, copy,
distribution or use of the contents of this message is prohibited. If you have received this
electronic message in error, please notify the sender immediately and destroy the original
message and all copies.

Mime
View raw message