avro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Lewi <jer...@lewi.us>
Subject Re: Question about Map Only AvroJob
Date Fri, 28 Sep 2012 05:52:05 GMT
Hi Jonathan,

Yes. Here's an example.

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.


On Mon, Sep 24, 2012 at 8:35 PM, hodgesz <hodgesz@gmail.com> 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.
> Thanks in advance,
> Jonathan
> --
> View this message in context:
> http://apache-avro.679487.n3.nabble.com/Question-about-Map-Only-AvroJob-tp4025290.html
> Sent from the Avro - Users mailing list archive at Nabble.com.

View raw message