Created on 07-20-2015 01:36 PM - edited 09-16-2022 02:34 AM
I have mapreduce code, in which i have used multipleOutputs.write for writing the output fo my own file convention.
I have used following line.
multipleOutputs.write(new Text(line), NullWritable.get(),"srini-file");
But, i am getting file with srini-file-m-00000 with 0 records in it. However, if i have used context.write, then the output came properly.
Please let me know, if there is any important point i missed in multipleoutputs.
Created 07-20-2015 08:35 PM
Created 07-20-2015 08:35 PM
Created 07-20-2015 09:21 PM
Thank you Harsh