Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
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