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
