You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Misty Stanley-Jones (JIRA)" <ji...@apache.org> on 2014/05/28 02:46:04 UTC

[jira] [Resolved] (HBASE-11250) Document: CLONE - Fix jersey serialization/deserialization of json objects

     [ https://issues.apache.org/jira/browse/HBASE-11250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Misty Stanley-Jones resolved HBASE-11250.
-----------------------------------------

    Resolution: Fixed

> Document: CLONE - Fix jersey serialization/deserialization of json objects
> --------------------------------------------------------------------------
>
>                 Key: HBASE-11250
>                 URL: https://issues.apache.org/jira/browse/HBASE-11250
>             Project: HBase
>          Issue Type: Bug
>          Components: documentation, REST
>    Affects Versions: 0.92.2
>            Reporter: Misty Stanley-Jones
>            Assignee: Misty Stanley-Jones
>            Priority: Blocker
>
> 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.2#6252)