[
https://issues.apache.org/jira/browse/HBASE-9435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13758149#comment-13758149
]
Nick Dimiduk commented on HBASE-9435:
-------------------------------------
The JSON peculiarities have bitten me in the past, so I'm in favor of this
change.
Read through the patch, things look good to me. I'm not familiar with the
intimate differences between Jersey and Jackson. +1
> 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
> Attachments: 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira