RE: RecordReader Functionality

2008-06-30 Thread Runping Qi
saw so far. Why not just use SequenceFile instead? Runping > -Original Message- > From: Sean Arietta [mailto:[EMAIL PROTECTED] > Sent: Monday, June 30, 2008 10:29 AM > To: core-user@hadoop.apache.org > Subject: Re: RecordReader Functionality > > > I thought

Re: RecordReader Functionality

2008-06-30 Thread Sean Arietta
I thought that the InStream buffer (called 'in' in this case) would maintain the stream position based on how many bytes I had 'read' via in.read(). Maybe this is not the case... Would it then be proper to call: in.seek(pos); I believe I tried this at one point and I got an error. I will try ag

Re: RecordReader Functionality

2008-06-30 Thread Jorgen Johnson
Hi Sean, Perhaps I'm missing something, but it doesn't appear to me that you're actually seeking to the filesplit start position in your constructor... This would explain why all the mappers are getting the same records. -jorgenj On Mon, Jun 30, 2008 at 9:22 AM, Sean Arietta <[EMAIL PROTECTED]>