hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-14601) Azure: Reuse ObjectMapper
Date Wed, 28 Jun 2017 09:55:00 GMT

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

Steve Loughran commented on HADOOP-14601:

I just checked about object mapper thread safety and yes, once configured it's thread safe:
no reason not to do this. Let's see what yetus says

> Azure: Reuse ObjectMapper
> -------------------------
>                 Key: HADOOP-14601
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14601
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fa/azure
>            Reporter: Mingliang Liu
>            Assignee: Mingliang Liu
>         Attachments: HADOOP-14601.000.patch
> Currently there are a few places in {{hadoop-azure}} module that uses creates {{ObjectMapper}}
for each request/call. We should re-use the object mapper for performance purpose.
> The general caveat is about thread safety; I think the change will be safe though.

This message was sent by Atlassian JIRA

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

View raw message