Re: How to get input path in map method

2007-10-14 Thread Shailendra Mudgal
Hi, Thanks for your responses. As all the solutions were good to me, I hv decided to use the "map.input.file" from jobconf. Thanks & Regards, Shaile.. On 10/12/07, Ted Dunning <[EMAIL PROTECTED]> wrote: > > > > It is also pretty easy to over-ride bits of TextInputFormat to give the > file > as t

Re: How to get input path in map method

2007-10-12 Thread Ted Dunning
It is also pretty easy to over-ride bits of TextInputFormat to give the file as the key instead of the offset. On 10/12/07 10:19 AM, "Benjamin Reed" <[EMAIL PROTECTED]> wrote: > We do this in Pig by using our own InputSplits. > > ben > > On Friday 12 October 2007, Owen O'Malley wrote: >> On

Re: How to get input path in map method

2007-10-12 Thread Benjamin Reed
We do this in Pig by using our own InputSplits. ben On Friday 12 October 2007, Owen O'Malley wrote: > On Oct 12, 2007, at 5:51 AM, Shailendra Mudgal wrote: > > I am adding two input dir in a job. Both the input dirs have same > > > Value.class>. Inside the map method i want to know that which >

Re: How to get input path in map method

2007-10-12 Thread Owen O'Malley
On Oct 12, 2007, at 5:51 AM, Shailendra Mudgal wrote: I am adding two input dir in a job. Both the input dirs have same Value.class>. Inside the map method i want to know that which pairvalue> has come from which input dir. How can i do this ? Any help will be appreciated.. *sigh* We've

How to get input path in map method

2007-10-12 Thread Shailendra Mudgal
Hi All, I am adding two input dir in a job. Both the input dirs have same . Inside the map method i want to know that which pair has come from which input dir. How can i do this ? Any help will be appreciated.. Regards, Shaile