[
https://issues.apache.org/jira/browse/HBASE-16338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16193643#comment-16193643
]
Mike Drob commented on HBASE-16338:
-----------------------------------
bq. Could you describe the problem caused by it remaining '$'?
The new version of jackson doesn't know what to do with it when deserializing,
and it leads to a bunch of unit test failures. One example:
{noformat}
testMultiCellGetWithColsJSON[0](org.apache.hadoop.hbase.rest.TestMultiRowResource)
Time elapsed: 0.083 sec <<< ERROR!
org.codehaus.jackson.map.exc.UnrecognizedPropertyException:
Unrecognized field "value" (Class
org.apache.hadoop.hbase.rest.model.CellModel), not marked as ignorable
at [Source: [B@7e5efcab; line: 1, column: 91] (through reference chain:
org.apache.hadoop.hbase.rest.model.CellSetModel["Row"]->org.apache.hadoop.hbase.rest.model.RowModel["Cell"]->org.apache.hadoop.hbase.rest.model.CellModel["value"])
at
org.apache.hadoop.hbase.rest.TestMultiRowResource.testMultiCellGetWithColsJSON(TestMultiRowResource.java:205)
{noformat}
The relevant test code being:
{code}
ObjectMapper mapper = new
JacksonJaxbJsonProvider().locateMapper(CellSetModel.class,
MediaType.APPLICATION_JSON_TYPE);
CellSetModel cellSet = mapper.readValue(response.getBody(),
CellSetModel.class);
{code}
> update jackson to 2.y
> ---------------------
>
> Key: HBASE-16338
> URL: https://issues.apache.org/jira/browse/HBASE-16338
> Project: HBase
> Issue Type: Task
> Components: dependencies
> Reporter: Sean Busbey
> Assignee: Mike Drob
> Fix For: 2.0.0-beta-2
>
> Attachments: 16338.txt, HBASE-16338.v2.patch, HBASE-16338.v3.patch
>
>
> Our jackson dependency is from ~3 years ago. Update to the jackson 2.y line,
> using 2.7.0+.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)