You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Mingliang Liu (JIRA)" <ji...@apache.org> on 2017/06/28 20:13:00 UTC

[jira] [Created] (HDFS-12064) Reuse object mapper in HDFS

Mingliang Liu created HDFS-12064:
------------------------------------

             Summary: 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


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