hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Devaraj k <devara...@huawei.com>
Subject RE: Sending the entire file content as value to the mapper
Date Thu, 11 Jul 2013 08:47:38 GMT
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:kasisubbu440@gmail.com] 
Sent: 11 July 2013 13:38
To: common-user@hadoop.apache.org; mapreduce-user@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

Mime
View raw message