You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mrunit.apache.org by "Dandona, Rohit" <Ro...@SYNTELINC.COM> on 2012/11/06 07:42:33 UTC
MultipleOutput with different output path for each
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.