Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EBB9810011 for ; Wed, 28 May 2014 00:46:04 +0000 (UTC) Received: (qmail 84176 invoked by uid 500); 28 May 2014 00:46:04 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 84129 invoked by uid 500); 28 May 2014 00:46:04 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 84120 invoked by uid 99); 28 May 2014 00:46:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 May 2014 00:46:04 +0000 Date: Wed, 28 May 2014 00:46:04 +0000 (UTC) From: "Misty Stanley-Jones (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HBASE-11250) Document: CLONE - Fix jersey serialization/deserialization of json objects MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)