The ObjectMapper instance is not reused in class CombinedHostsFileReader and CombinedHostsFileWriter. We can reuse them to improve performance.
Here are related issues: HDFS-9724, HDFS-9768.
Degraded performance in WebHDFS listing as it does not reuse ObjectMapper
Reuse objectMapper instance in HDFS to improve the performance
For future git log greppers, this was typo'd as HADOOP-10568 in the commit message.
Thanks Akira Ajisaka for commit!
Committed this to trunk and branch-2. Thanks Yiqun Lin for the contribution.
This message was automatically generated.
Thanks Akira Ajisaka for review. Post the new patch for addressing the comments, pending jenkins.
Thanks Yiqun Lin for reporting this and creating the patch.
Can we reuse JsonFactory as well?
It seemed the jenkins was hung, upload the patch file again to trigger the jenkins.
Attach a simple patch.