Thanks for the reply Owen, I only knew about map.input.file.

 So there is no way I can see the other possible splits (start+length)? like
some function that returns strings of map.input.file and map.input.offset of
the other mappers ?

Thanks,
Mark

On Thu, May 12, 2011 at 9:08 PM, Owen O'Malley <omal...@apache.org> wrote:

> On Thu, May 12, 2011 at 8:59 PM, Mark question <markq2...@gmail.com>
> wrote:
>
> > Hi
> >
> >   I'm using FileInputFormat which will split files logically according to
> > their sizes into splits. Can the mapper get a pointer to these splits?
> and
> > know which split it is assigned ?
> >
>
> Look at
>
> http://hadoop.apache.org/common/docs/r0.20.203.0/mapred_tutorial.html#Task+JVM+Reuse
>
>  In particular, map.input.file and map.input.offset are the configuration
> parameters that you want.
>
> -- Owen
>

Reply via email to