Re: help with rewriting hadoop java code for new API: RecordReader getPos()

2010-10-27 Thread Jeff Zhang
pos can been get through InputStream wrapped in RecordReader. You can refer to org.apache.hadoop.mapreduce.lib.input.LineRecordReader for details. On Wed, Oct 27, 2010 at 5:37 PM, Bibek Paudel wrote: > [Apologies for cross-posting] > > HI all, > I am rewriting a hadoop java code for the new (0.

help with rewriting hadoop java code for new API: RecordReader getPos()

2010-10-27 Thread Bibek Paudel
[Apologies for cross-posting] HI all, I am rewriting a hadoop java code for the new (0.20.2) API- the code was originally written for versions <= 0.19. 1. What is the equivalent of getPos() method [0] of RecordReader ? I read that in 0.20, the getPos() methos is no longer there [1], but what am