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

Reply via email to