[ https://issues.apache.org/jira/browse/HDFS-11712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15987757#comment-15987757 ]
Anu Engineer commented on HDFS-11712: ------------------------------------- [~linyiqun] Thanks for sharing the link -- (https://github.com/FasterXML/jackson-docs/wiki/Presentation:-Jackson-Performance). It is very informative. Do you think we can use ObjectReader or ObjectWriter in many places instead of ObjectMapper ? Anyways, Looking forward to your next patch. > Ozone: Reuse ObjectMapper instance to improve the performance > ------------------------------------------------------------- > > Key: HDFS-11712 > URL: https://issues.apache.org/jira/browse/HDFS-11712 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: ozone > Affects Versions: HDFS-7240 > Reporter: Yiqun Lin > Assignee: Yiqun Lin > Attachments: HDFS-11712-HDFS-7240.001.patch > > > In the ozone, there are many places using {{ObjectMapper}} to do the > object-json transformation. From the page of {{ObjectMapper}} > (https://github.com/FasterXML/jackson-docs/wiki/Presentation:-Jackson-Performance), > {{ObjectMapper}} is a heavy-weight object, it not a good bevahiour to > create this instance everywhere. -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org