Re: Getting filename in case of MultipleInputs

2012-05-05 Thread Kasi Subrahmanyam
Yeah Jim, I have gone through the comments in that JIRA ticket and am able to solve my problem On Sat, May 5, 2012 at 11:25 PM, Jim Donofrio wrote: > There is already a JIRA for this: > > MAPREDUCE-1743 > > > On 05/03/2012 09:06 AM, Harsh J wrote: > >> Subbu, >> >> The only way I can think of, i

Re: Getting filename in case of MultipleInputs

2012-05-05 Thread Jim Donofrio
There is already a JIRA for this: MAPREDUCE-1743 On 05/03/2012 09:06 AM, Harsh J wrote: Subbu, The only way I can think of, is to use an overridden InputFormat/RecordReader pair that sets the "map.input.file" config value during its initialization, using the received FileSplit object. This sh

Re: Getting filename in case of MultipleInputs

2012-05-03 Thread Bejoy Ks
Hi Subbu, The file/split processed by a mapper could be obtained from WebUI as soon as the job is executed. However this detail can't be obtained once the job is moved to JT history. Regards Bejoy On Thu, May 3, 2012 at 6:25 PM, Kasi Subrahmanyam wrote: > Hi, > > Could anyone suggest how

RE: Getting filename in case of MultipleInputs

2012-05-03 Thread Devaraj k
From: Kasi Subrahmanyam [kasisubbu...@gmail.com] Sent: Thursday, May 03, 2012 6:25 PM To: mapreduce-user@hadoop.apache.org Subject: Getting filename in case of MultipleInputs Hi, Could anyone suggest how to get the filename in the mapper. I have gone through the JIRA

Re: Getting filename in case of MultipleInputs

2012-05-03 Thread Harsh J
Subbu, The only way I can think of, is to use an overridden InputFormat/RecordReader pair that sets the "map.input.file" config value during its initialization, using the received FileSplit object. This should be considered as a bug, however, and even 2.x is affected. Can you please file a JIRA o