hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Francis Liu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-9435) Fix jersey serialization/deserialization of json objects
Date Mon, 30 Sep 2013 23:55:24 GMT

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

Francis Liu commented on HBASE-9435:
------------------------------------

ping [~jxiang], in case he has some input.

> Fix jersey serialization/deserialization of json objects
> --------------------------------------------------------
>
>                 Key: HBASE-9435
>                 URL: https://issues.apache.org/jira/browse/HBASE-9435
>             Project: HBase
>          Issue Type: Bug
>          Components: REST
>            Reporter: Francis Liu
>            Assignee: Francis Liu
>            Priority: Blocker
>             Fix For: 0.98.0, 0.96.1
>
>         Attachments: HBASE-9435.patch, HBASE-9435.patch
>
>
> Stargate uses the default json marshaller/unmarshaller in natural mode. In this mode
the unmarshaller has trouble unmarshalling json instances. 
> This patch fixes this issue by using jackson as the marshaller/unmarshaller instead.

> I've also updated all the model unit tests to test json serialization/deserialization.
Backwards compatibilty can be verified by modify the test base class to use the original marshaller/unmarshaller
and see that model tests pass.
> The patch is backward compatible except for StorageClusterStatusModel, which is broken
anyway. It only shows one node in the liveNodes field.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message