You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Anu Engineer (JIRA)" <ji...@apache.org> on 2017/05/03 21:21:04 UTC
[jira] [Comment Edited] (HDFS-11712) Ozone: Reuse ObjectMapper
instance to improve the performance
[ https://issues.apache.org/jira/browse/HDFS-11712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15995697#comment-15995697 ]
Anu Engineer edited comment on HDFS-11712 at 5/3/17 9:21 PM:
-------------------------------------------------------------
+1, I will commit this shortly. Thank you for making this improvement.
was (Author: anu):
+1, I will commit this shortly. Thank for making this improvement.
> 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, HDFS-11712-HDFS-7240.002.patch, HDFS-11712-HDFS-7240.003.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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org