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.