Re: Trying to relate a split file to a input file

2010-05-18 Thread psdc1978
I don't think that the workcount example uses FileSplit class. Only the MultithreadedMapper class uses FileSplit and I can't find an example where it's invoked. Where is the setup() method? On Tue, May 18, 2010 at 6:50 PM, Wilkes, Chris wrote: > In your setup() look at context.getInputSplit()

Re: Trying to relate a split file to a input file

2010-05-18 Thread Wilkes, Chris
In your setup() look at context.getInputSplit(), this will be a FileSplit in your case. From there you can do a getPath() to see the both the directory structure and the split value. On May 18, 2010, at 10:01 AM, psdc1978 wrote: Hi, I'm study the MapReduce code, and I've the following qu

Trying to relate a split file to a input file

2010-05-18 Thread psdc1978
Hi, I'm study the MapReduce code, and I've the following questions: 1 - I'm running the wordcount example. I've 3 txt files as input. Each txt file is about 120Mb. During the execution of the map tasks, a number of map tasks will read the txt files. Each file is divided in split files. I would l