A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
video training course this week in the
Sample Mapreduce code to process Zip files
Joined: Apr 21, 2011
Mar 13, 2014 06:01:09
I am an newbie to Hadoop and Mapreduce.
Now I need to process a zip file in myproject using Mapreduce, like input have to be a zip file and the output may be zip or text file.
Can anyone give me sample or suggest me a link for that.
Joined: May 14, 2004
Mar 13, 2014 14:51:56
You will have to implement your own InputFormat that would read the input ZIP file.
Moreover, you also need your own record reader implementation to define a record to be processed by a Map job.
I agree. Here's the link:
subject: Sample Mapreduce code to process Zip files
MapReduce model used in Hadoop & google
problem in unzipping
StreamTokenizer vs StringTokenizer
downloading zip files
How to download Zip file in Servlet?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015