Re: type mismatch, newbie help

2009-10-15 Thread Ahad Rana
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

Re: retrieving sequenceFile Postion of Key in mapper task

2009-10-08 Thread Ahad Rana
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

Re: retrieving sequenceFile Postion of Key in mapper task

2009-10-08 Thread Ahad Rana
, 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