Thank you for the explanation. Avro is a good serialization tool. I haven't
looked at the codes yet. I will probably dig into the codes very soon.

On Mon, Feb 21, 2011 at 10:20 AM, Harsh J <[email protected]> wrote:

> Hello,
>
> On Mon, Feb 21, 2011 at 9:33 PM, Weishung Chung <[email protected]>
> wrote:
> > What is the main use of org.apache.hadoop.io.ObjectWritable ? Thank you
> :)
>
> To use any primitive Java object as a Writable without requiring it to
> be implementing that interface. It will write out a class name for
> every type of object you put into it along with the object itself,
> when serializing - to deserialize properly.
>
> Maybe not so offtopic: The more I see Writables being used, the more I
> feel like promoting the use of Apache's Avro instead.
>
> --
> Harsh J
> www.harshj.com
>

Reply via email to