avro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <cutt...@apache.org>
Subject Re: AVRO threatening to ruin Christmas
Date Fri, 21 Dec 2012 19:09:00 GMT
On Fri, Dec 21, 2012 at 9:56 AM, Terry Healy <thealy@bnl.gov> wrote:
> "For jobs
> whose input is an Avro data file and which use an AvroMapper, but whose
> reducer is a non-Avro Reducer and whose output is a non-Avro format:".
[ ...]
>     public static class AvroFlowReducer extends AvroReducer

It looks to me like your reducer is an Avro reducer when in this case
you should instead subclass org.apache.hadoop,mapred.Reducer.

An example of this is in TestSequenceFileReader#testNonAvroReducer:


I hope this helps.


View raw message