hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harsh J <qwertyman...@gmail.com>
Subject Re: Specify File Name to mappers
Date Thu, 03 Mar 2011 04:09:50 GMT
The property 'map.input.file' should be what you're looking for. If
you have your own RecordReader, then you can get the Path from the
FileSplit object.

On Thu, Mar 3, 2011 at 8:14 AM, maha <maha@umail.ucsb.edu> wrote:
> Hi,
> If FileInputFormat is used with File.splitable(false) then each mapper will be getting
a full file. I want the mapper to also know the path or at least name of the file it's assigned
> Please help, any ideas are appreciated.
> Thank you,
> Maha

Harsh J

View raw message