Hi,

  You could send the file meta info to the map function as key/value through 
the split, and then you can read the entire file in your map function.

Thanks
Devaraj k


-----Original Message-----
From: Kasi Subrahmanyam [mailto:kasisubbu...@gmail.com] 
Sent: 11 July 2013 13:38
To: common-user@hadoop.apache.org; mapreduce-u...@hadoop.apache.org
Subject: Sending the entire file content as value to the mapper

Hi Team,

I have a file which has semi structured text  data with no definite start and 
end points.
How can i send the entire content of the file at once as key or value to the 
mapper instead of line by line.

Thanks,
Subbu

Reply via email to