|
|
Jay Vyas 2012-10-08, 14:13
One of the benefits of using autogenerated objects for serialization, we are finding, is just the fact that there is a strong, semantically meaningful API. This could seemingly be done by using a custom writable class though, as well. So... Does anyone know if there is a POJO writable framework for Hadoop? I think it would be relatively easy to implement one by just extending, for example, MapWritable.
-- Jay Vyas MMSB/UCHC
Dave Beech 2012-10-08, 15:45
Hi Jay
Hadoop supports this already using the JavaSerialization class. I'm not sure it is very performant though, when compared to usual Writable serialization.
Alternatively you could use Avro (SpecificRecord objects auto-generated from a schema file).
Cheers Dave
On 8 October 2012 15:13, Jay Vyas <[EMAIL PROTECTED]> wrote: > One of the benefits of using autogenerated objects for serialization, we > are finding, is just the fact that there is a strong, semantically > meaningful API. This could seemingly be done by using a custom writable > class though, as well. So... Does anyone know if there is a POJO writable > framework for Hadoop? I think it would be relatively easy to implement one > by just extending, for example, MapWritable. > > -- > Jay Vyas > MMSB/UCHC
|
|
All projects made searchable here are trademarks of the Apache Software Foundation.
Service operated by
Sematext