How do I setup Kryo as a substitute for Writable as a serialization framework in HDFS/Hadoop

633 views Asked by At

How do I setup Kryo as my serialization framework in place of Writable?

Sub Question: How do I set up my objects to be serialized/deserialized as we do for Writable?

1

There are 1 answers

0
Ananth On

Set the io.serializations property to a comma-separated list of classnames to register Serialization implementations. Its default value is org.apache.hadoop.io.serializer.WritableSerialization, which means that only Writable objects can be serialized or deserialized out of the box.

Refer - http://my.safaribooksonline.com/book/databases/hadoop/9780596521974/serialization/id4397802