Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
MapReduce, mail # user - Split the File using mapreduce


Copy link to this message
-
Split the File using mapreduce
Ranjini Rathinam 2013-12-27, 13:26
Hi,

I have a file with 16 fields such as
id,name,sa,dept,exp,address,company,phone,mobile,project,redk,........ so on

My scenaraio is to split the first eight attributes in one file and another
eight attributes in another file using MapReduce program.

so first eight attributes and its value in one file as
id,name,sa,dept,exp,address,company,phone

and the rest of attributes and its value in another file. Using Mapreduce
Program.

I am using Hadoop 0.20 version and java 1.6
Thanks in advance

Regards,
Ranjini.R