[
https://issues.apache.org/jira/browse/HBASE-9980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13828538#comment-13828538
]
Lars Hofhansl commented on HBASE-9980:
--------------------------------------
Hey Alex,
we serialize a bunch of stuff over the network (Lists, arrays, etc). The only
ones that we implement (in 0.94) are all the implementations of Writable we
use. HBaseObjectWritable lists (most) of them, so we can get a good list of
objects from there.
Put/Delete/Append/etc implement Writable for example. In order to save time
here, we can only just hardcode the most important ones, that would also make
their creation a bit easier (we do not need to write a generator for
everything, yet).
> [0.94] Wire compatibility test for 0.94
> ---------------------------------------
>
> Key: HBASE-9980
> URL: https://issues.apache.org/jira/browse/HBASE-9980
> Project: HBase
> Issue Type: Bug
> Affects Versions: 0.94.13
> Reporter: Lars Hofhansl
> Assignee: Andrew Purtell
>
> See HBASE-9834.
> We should have a test that:
> # generates a file with all kinds of objects serialized into it. Save that
> file as part of the HBase tests
> # a test can then read the objects back from that file
> # a test can regenerate that file
> If both tests pass we can be reasonably sure that neither readFields nor
> write was changed in an incompatible way.
--
This message was sent by Atlassian JIRA
(v6.1#6144)