Is it possible to have a map only job take an Avro GenericRecord as input and output a non-Avro key/value text file? The text file will contain a LongWritable key and a LongWritable value.
I was using a SpecificAvroRecord but I imagine it would work with GenericRecord just as well.
The way I did it was to use a regular map reduce mapper and use AvroWrapper for the key and nothing for the value.
If you have questions let me know and I'll try to answer them.
J
On Mon, Sep 24, 2012 at 8:35 PM, hodgesz <[hidden email]> wrote:
Hi,
Is it possible to have a map only job take an Avro GenericRecord as input
and output a non-Avro key/value text file? The text file will contain a
LongWritable key and a LongWritable value.