hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lin Yiqun (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-9747) Reuse objectMapper instance in MapReduce
Date Wed, 03 Feb 2016 06:09:39 GMT

     [ https://issues.apache.org/jira/browse/HDFS-9747?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Lin Yiqun updated HDFS-9747:
----------------------------
    Status: Patch Available  (was: Open)

Attach a initial patch, kindly reviewing.

> Reuse objectMapper instance in MapReduce
> ----------------------------------------
>
>                 Key: HDFS-9747
>                 URL: https://issues.apache.org/jira/browse/HDFS-9747
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: performance
>    Affects Versions: 2.7.1
>            Reporter: Lin Yiqun
>            Assignee: Lin Yiqun
>         Attachments: MAPREDUCE.001.patch
>
>
> Now in MapReduce, there are some places creating a new ObjectMapper instance every time.
In wiki of ObjectMapper, it suggested:
> {code}
> Further: it is beneficial to use just one instance (or small number of instances) for
data binding; many optimizations for reuse (of symbol tables, some buffers) depend on ObjectMapper
instances being reused. 
> {code}
> http://webcache.googleusercontent.com/search?q=cache:kybMTIJC6F4J:wiki.fasterxml.com/JacksonFAQ+&cd=4&hl=ja&ct=clnk&gl=jp,
it's similar to HDFS-9724.



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

Mime
View raw message