Re: Which FileInputFormat to use for fixed length records?

2009-11-01 Thread yz5od2
Hi all, I've contributed a couple of classes to support fixed length/width records in input files. The JIRA issue and attachments are located here: https://issues.apache.org/jira/browse/MAPREDUCE-1176 thanks, and I hope this helps others out. On Oct 28, 2009, at 1:58 PM, Aaron Kimball

Re: Which FileInputFormat to use for fixed length records?

2009-10-28 Thread Aaron Kimball
I think these would be good to add to mapreduce in the {{org.apache.hadoop.mapreduce.lib.input}} package. Please file a JIRA and apply a patch! - Aaron On Wed, Oct 28, 2009 at 11:15 AM, yz5od2 woods5242-outdo...@yahoo.comwrote: Hi all, I am working on writing a FixedLengthInputFormat class and

Re: Which FileInputFormat to use for fixed length records?

2009-10-20 Thread Aaron Kimball
You'll need to write your own, I'm afraid. You should subclass FileInputFormat and go from there. You may want to look at TextInputFormat / LineRecordReader for an example of how an IF/RR gets put together, but there isn't an existing fixed-len record reader. - Aaron On Tue, Oct 20, 2009 at