Fileformat query

2010-01-28 Thread Udaya Lakshmi
Hi all.. I have searched the documentation but could not find a input file format which will give line number as the key and line as the value. Did I miss something? Can someone give me a clue of how to implement one such input file format. Thanks, Udaya.

Re: Fileformat query

2010-01-28 Thread Edward Capriolo
On Thu, Jan 28, 2010 at 4:01 AM, Udaya Lakshmi udaya...@gmail.com wrote: Hi all..   I have searched the documentation but could not find a input file format which will give line number as the key and line as the value. Did I miss something? Can someone give me a clue of how to implement one

Re: Fileformat query

2010-01-28 Thread Udaya Lakshmi
Thank you Jeff. On 1/29/10, Jeff Zhang zjf...@gmail.com wrote: Sorry for my mistake, the idea of writing your own InputFormat seems not a good idea. The cost of getting the line number of each split is a little high. On Fri, Jan 29, 2010 at 8:40 AM, Jeff Zhang zjf...@gmail.com wrote: I'm