[ https://issues.apache.org/jira/browse/HDFS-12064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anu Engineer updated HDFS-12064: -------------------------------- Resolution: Fixed Fix Version/s: 3.1.0 Target Version/s: (was: 2.9.0, 3.0.0-beta1) Status: Resolved (was: Patch Available) [~hanishakoneru] Thank you for the contribution. I have committed this to the trunk. This patch does apply to branch-2 ( two missing files in branch-2) please feel free to post a new patch for branch-2 and reopen this JIRA for branch-2 commit. I have *not* committed this to 3.0-beta1 since we are very close to release and this JIRA probably does not meet the bug bar at this point of time. Once beta1 is released please feel free to reopen this so we can carry this to 3.0 branch too > 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 > Fix For: 3.1.0 > > Attachments: HDFS-12064.001.patch, HDFS-12064.002.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-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org