hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Hofhansl (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-9980) [0.94] Wire compatibility test for 0.94
Date Sat, 16 Nov 2013 04:27:23 GMT

    [ https://issues.apache.org/jira/browse/HBASE-9980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13824389#comment-13824389
] 

Lars Hofhansl commented on HBASE-9980:
--------------------------------------

Could get a list of serializable objects from HBaseObjectWritable, take those that are assignable
from Writable.
Then make instances of those (which is the tricky part) and write them to the gold file.


> [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)

Mime
View raw message