[
https://issues.apache.org/jira/browse/HDFS-9526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15347823#comment-15347823
]
Hudson commented on HDFS-9526:
------------------------------
SUCCESS: Integrated in Hadoop-trunk-Commit #10014 (See
[https://builds.apache.org/job/Hadoop-trunk-Commit/10014/])
HDFS-9526. Fix jackson annotation imports. Contributed by Xiaobing Zhou (arp:
rev 599eca07b422d8dbf015ed01a5d5a13e4488468c)
* hadoop-hdfs-project/hadoop-hdfs/HDFS-1312_CHANGES.txt
*
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/diskbalancer/datamodel/DiskBalancerVolume.java
> 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
> Fix For: HDFS-1312
>
> Attachments: HDFS-9526-HDFS-1312.001.patch
>
>
> This is to change
> 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)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]