Hi,
Unfortunately Mapper is now a class and from your call stack it seems that
Mapper's default map implementation is being called (instead of the one you
defined in your class), which is passing the LongWritable key to the
collector. You should use @Override to have the compiler help you figure
Hi Ishwar,
You can implement a custom MapRunner and retrieve the position from the
reader before calling your map function. Be aware though, that for block
compressed files, the position returned represents block start position, not
the individual record position.
Ahad.
On Thu, Oct 8, 2009 at
, Oct 8, 2009 at 10:22 PM, Ahad Rana a...@commoncrawl.org wrote:
Hi Ishwar,
You can implement a custom MapRunner and retrieve the position from the
reader before calling your map function. Be aware though, that for block
compressed files, the position returned represents block start position