You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Yiqun Lin (JIRA)" <ji...@apache.org> on 2016/06/22 08:44:58 UTC

[jira] [Created] (HDFS-10560) Reuse ObjectMapper instance to improve the performance

Yiqun Lin created HDFS-10560:
--------------------------------

             Summary: Reuse ObjectMapper instance to improve the performance
                 Key: HDFS-10560
                 URL: https://issues.apache.org/jira/browse/HDFS-10560
             Project: Hadoop HDFS
          Issue Type: Sub-task
          Components: balancer & mover
    Affects Versions: HDFS-1312
            Reporter: Yiqun Lin
            Assignee: Yiqun Lin


In branch HDFS-1312, there are many places use {{ObjectMapper}} instances to do the json-object transform. But {{ObjectMapper}} instance is relatively heavy, we should reuse them as possible. And In addition, {{ObjectMapper}} is thread safe, can see this link:http://wiki.fasterxml.com/JacksonFAQ.

Here are related issues: HDFS-9724, HDFS-9768. We can see detail info in this issues.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org