mrunit-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "posa" <>
Subject Re:MultipleOutput with different output path for each
Date Tue, 06 Nov 2012 06:49:23 GMT

YongBo Wu

------------------ Original ------------------
From:  "Dandona, Rohit"<Rohit_Dandona@SYNTELINC.COM>;
Date:  Tue, Nov 6, 2012 02:42 PM
To:  "user"<>; 

Subject:  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 ?
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.
View raw message