hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Beech <dbe...@apache.org>
Subject Re: pojo writables
Date Mon, 08 Oct 2012 15:45:11 GMT
Hi Jay

Hadoop supports this already using the JavaSerialization class. I'm
not sure it is very performant though, when compared to usual Writable

Alternatively you could use Avro (SpecificRecord objects
auto-generated from a schema file).


On 8 October 2012 15:13, Jay Vyas <jayunit100@gmail.com> 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

View raw message