• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Sample Mapreduce code to process Zip files

 
Varadhan Sesharaman
Ranch Hand
Posts: 30
Eclipse IDE Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,

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.


Thanks,
varadhan.S

 
amit punekar
Ranch Hand
Posts: 544
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
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.

Regards,
Amit
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic