hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <cutt...@apache.org>
Subject Re: Multi-language serialization discussion
Date Wed, 29 Oct 2008 04:23:24 GMT
Sanjay Radia wrote:
> I like the self describing data for the reasons you have state.
> Q. I assume that in many cases the reader of some serialized data is 
> expecting a particular data-definition (or versions of it). In this case 
> the
> reader has the expected data-definition that was generated from the idl. 
> If the two data-definitions (the one from the idl and the other from the 
> serialized data)  do not match (modulo versions), then is an exception 
> is thrown?

If there are required fields in the expected IDL that are not in the 
data, then, yes, an exception should be thrown.

Doug

Mime
View raw message