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?
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?
将 io.serializations 属性设置为以逗号分隔的类名列表以注册序列化实现。它的默认值是 org.apache.hadoop.io.serializer.WritableSerialization,这意味着只有 Writable 对象可以开箱即用地序列化或反序列化。
参考 - http://my.safaribooksonline.com/book/databases/hadoop/9780596521974/serialization/id4397802