hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiaobing Zhou (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-9526) DiskBalancer: change htrace...JsonIgnore to codehaus...JsonIgnore
Date Wed, 09 Dec 2015 18:33:11 GMT

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

Xiaobing Zhou commented on HDFS-9526:
-------------------------------------

Test failures are not related. Kindly commit it, thanks!

> DiskBalancer: change htrace...JsonIgnore to codehaus...JsonIgnore
> -----------------------------------------------------------------
>
>                 Key: HDFS-9526
>                 URL: https://issues.apache.org/jira/browse/HDFS-9526
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: datanode
>    Affects Versions: 2.8.0
>            Reporter: Xiaobing Zhou
>            Assignee: Xiaobing Zhou
>         Attachments: HDFS-9526-HDFS-1312.001.patch
>
>
> This is to 
> org.apache.htrace.fasterxml.jackson.annotation.JsonIgnore
> org.apache.htrace.fasterxml.jackson.annotation.JsonIgnoreProperties
> to
> org.codehaus.jackson.annotate.JsonIgnore
> org.codehaus.jackson.annotate.JsonIgnoreProperties, since org.codehaus.jackson.map.ObjectMapper
does not recognize the former when we mark get/set accessors as @JsonIgnore. This will cause
UnrecognizedPropertyException for newly added accessors while doing Json parsing using codehaus
Jackson ObjectMapper.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message