hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alejandro Abdelnur <t...@cloudera.com>
Subject Re: serializing/deserializing wrapped protobuf generated classes
Date Tue, 21 May 2013 13:54:13 GMT

(phone typing)

On May 20, 2013, at 11:04, Alejandro Abdelnur <tucu@cloudera.com> wrote:

> [I know it has been discussed before the need (or not) of having the current wrappers
hiding the protobuf generated classes].
> I order to do things like AMs failover and checkpointing I need to serialize app IDs,
app attempt IDs, containers and/or IDs,  resource requests, etc.
> This means that the current wrapping hides the PB impl, thus hiding the provided ser/deser
> I could force-cast a record to ProtoBase (which is private) and then get the PROTO Message
and then do the ser/deser with that.
> But this, IMO, is a no no.
> Thoughts?
> Thanks
> -- 
> Alejandro

View raw message