hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yiqun Lin (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HDFS-10560) DiskBalancer: Reuse ObjectMapper instance to improve the performance
Date Tue, 16 Aug 2016 01:48:20 GMT

    [ https://issues.apache.org/jira/browse/HDFS-10560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15422021#comment-15422021

Yiqun Lin edited comment on HDFS-10560 at 8/16/16 1:47 AM:

Thanks [~anu] for updating the patch!
Good catch! [~ajisakaa]. I will post a new patch for fixing this soon.

was (Author: linyiqun):
Thanks [~anu] for updating the patch! The latest patch looks good to me, +1.

> DiskBalancer: 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
>         Attachments: HDFS-10560-HDFS-1312.001.patch, HDFS-10560-HDFS-1312.002.patch,
HDFS-10560-HDFS-1312.003.patch, HDFS-10560.004.patch
> 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

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

View raw message