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.
From: Kasi Subrahmanyam [mailto:[EMAIL PROTECTED]]
Sent: 11 July 2013 13:38
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Sending the entire file content as value to the mapper
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.