You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by Jason Venner <ja...@attributor.com> on 2007/12/03 22:31:25 UTC

Question about information available to the mapper?

Is it possible to know the name of the input file in the mapper.

for the input file, our task might handle the input data differently 
depending on the name of the input file.



Re: Question about information available to the mapper?

Posted by Owen O'Malley <oo...@yahoo-inc.com>.
On Dec 3, 2007, at 1:31 PM, Jason Venner wrote:

>
> Is it possible to know the name of the input file in the mapper.

It is available as map.input.file in the config. You can see the  
other values in http://wiki.apache.org/lucene-hadoop/ 
TaskExecutionEnvironment

-- Owen