hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-9435) Fix jersey serialization/deserialization of json objects
Date Thu, 05 Sep 2013 02:20:52 GMT

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

Hudson commented on HBASE-9435:
-------------------------------

SUCCESS: Integrated in hbase-0.96 #11 (See [https://builds.apache.org/job/hbase-0.96/11/])
HBASE-9435 Fix jersey serialization/deserialization of json objects (stack: rev 1520178)
* /hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/client/RemoteHTable.java
* /hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/model/CellModel.java
* /hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/model/CellSetModel.java
* /hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/model/ColumnSchemaModel.java
* /hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/model/RowModel.java
* /hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/model/StorageClusterVersionModel.java
* /hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/model/TableSchemaModel.java
* /hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/provider/JacksonProvider.java
* /hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/TestSchemaResource.java
* /hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/TestStatusResource.java
* /hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestCellModel.java
* /hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestCellSetModel.java
* /hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestColumnSchemaModel.java
* /hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestModelBase.java
* /hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestRowModel.java
* /hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestScannerModel.java
* /hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestStorageClusterStatusModel.java
* /hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestStorageClusterVersionModel.java
* /hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestTableInfoModel.java
* /hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestTableListModel.java
* /hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestTableRegionModel.java
* /hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestTableSchemaModel.java
* /hbase/branches/0.96/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/model/TestVersionModel.java

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

Mime
View raw message