Thanks Harsh!!! but you don't think there is another way for the mappers to get configuration and access 'map.input.file' ???? because I didn't write my recordReader.
I truly appreciate it. Maha On Mar 2, 2011, at 8:09 PM, Harsh J wrote: > 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 <[email protected]> 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 to. >> >> Please help, any ideas are appreciated. >> >> Thank you, >> Maha >> >> > > > > -- > Harsh J > www.harshj.com
