Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Avro >> mail # user >> Puzzled about Avro serialization

Copy link to this message
Re: Puzzled about Avro serialization
Take a look also at
if you just want to play with fragments of avro-encoded data.

-- Philip

On Wed, Jul 7, 2010 at 12:44 PM, David Rosenstrauch <[EMAIL PROTECTED]> wrote:
> On 07/07/2010 03:22 PM, David Rosenstrauch wrote:
>> Hi.  Newbie here, kicking the tires on Avro.
>> Although I read through the docs pretty carefully, I think I'm somehow
>> missing some key point about how Avro serialization works. I tried
>> testing it out with the following code, and schema, but I'm not getting
>> any serialized output. Anyone know what I'm doing wrong?
>> Thanks,
>> DR
> Doh!  Posted too soon.
> Googling for "avro serialization example" turned up a blog post
> (http://blog.voidsearch.com/bigdata/apache-avro-in-practice/) with the magic
> incantation:  encoder.flush();
> Sorry for the noise.
> DR