- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
MutlipleOutputs writing zero records to output file.
- Labels:
-
MapReduce
Created on ‎07-20-2015 01:36 PM - edited ‎09-16-2022 02:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you're already doing that, please share your code here so we can take a look at what may be going wrong.
Created ‎07-20-2015 08:35 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you're already doing that, please share your code here so we can take a look at what may be going wrong.
Created ‎07-20-2015 09:21 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you Harsh
