Re: FixedLengthInputFormat: Patch 1176

2010-09-28 Thread Ken Goodhope
You input format is from the new API, and jobconf is from the old api. You can either switch to using Job from the new api, or switch to an imputformat from the old. On Mon, Sep 27, 2010 at 8:36 AM, Ratner, Alan S (IS) wrote: > I am trying to read in fixed-width records using the code from Patc

FixedLengthInputFormat: Patch 1176

2010-09-27 Thread Ratner, Alan S (IS)
I am trying to read in fixed-width records using the code from Patch 1176 (FixedLengthInputFormat and FixedLengthRecordReader) to use in Hadoop 0.21.0. (Rather than rebuild Hadoop I simply copied the code into my Eclipse package.) Eclipse recognizes FixedLengthInputFormat but finds it incompatib