hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anu Engineer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-12064) Reuse object mapper in HDFS
Date Sat, 23 Sep 2017 00:01:34 GMT

    [ 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: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message