[
https://issues.apache.org/jira/browse/HDFS-2129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Todd Lipcon updated HDFS-2129:
------------------------------
Attachment: hdfs-2129.txt
Updated patch on top of HDFS-2260. This subs in the new BlockReader
implementation by default, but users can switch back to the old one with an
undocumented parameter. The idea is that, if we discover a bug with the new
reader, we can more easily revert. Then we'll remove the old one in time.
> Simplify BlockReader to not inherit from FSInputChecker
> -------------------------------------------------------
>
> Key: HDFS-2129
> URL: https://issues.apache.org/jira/browse/HDFS-2129
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: hdfs client
> Reporter: Todd Lipcon
> Assignee: Todd Lipcon
> Fix For: 0.23.0
>
> Attachments: hdfs-2129-benchmark.png, hdfs-2129.txt, hdfs-2129.txt,
> hdfs-2129.txt, seq-read-1gb-bench.png
>
>
> BlockReader is currently quite complicated since it has to conform to the
> FSInputChecker inheritance structure. It would be much simpler to implement
> it standalone. Benchmarking indicates it's slightly faster, as well.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira