[
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
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]