[
https://issues.apache.org/jira/browse/HDFS-9526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15047781#comment-15047781
]
Anu Engineer commented on HDFS-9526:
------------------------------------
+1, looks good ( non-binding)
> 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)