NICTA/scoobi — pull request #150 by ccsevers (2012-09-23 21:21:24+00:00)
Title: Added Avro Specific/GenericRecord support

Hi,

I managed to find a nice way to read/write Avro GenericRecord and SpecificRecord using the current AvroSchema support. I added a new implicit to AvroSchema, changed AvroInput to use the SpecificDatumReader (which will fall back to Generic if needed) and added an implcit WireFormat for classes implementing GenericContainer.

The wireformat piece could probably be done better if you want to have a look, but it seems to work for now.

I also added an example with Avro usage.

The same approach should work fine in the CDH4 branch too.

----
Chris