Hadoop: Easy way to have object as output value without Writable interface Hadoop: Easy way to have object as output value without Writable interface hadoop hadoop

Hadoop: Easy way to have object as output value without Writable interface


You can define your own serialization mechanism

I think it resolves around implementing the Serialization interface, and defining your implementation in the io.serializations configuration property

In your case, if you just want to use java serialization, set this property to:

  • org.apache.hadoop.io.serializer.JavaSerialization