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

Anu Engineer commented on HDFS-12064:
-------------------------------------

[~hanishakoneru] +1, on this change. But we have 3 checkstyle warnings, could 
you please fix them? 

> Reuse object mapper in HDFS
> ---------------------------
>
>                 Key: HDFS-12064
>                 URL: https://issues.apache.org/jira/browse/HDFS-12064
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Mingliang Liu
>            Assignee: Hanisha Koneru
>            Priority: Minor
>         Attachments: HDFS-12064.001.patch
>
>
> Currently there are a few places that are not following the recommended 
> pattern of using object mapper - reuse if possible. Actually we can use 
> {{ObjectReader}} or {{ObjectWriter}} to replace the object mapper in some 
> places: they are straightforward and thread safe.
> The benefit is all about performance, so in unit testing code I assume we 
> don't have to worry too much.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to