dragon created HDFS-10140: ----------------------------- Summary: CLONE - Erasure Coding: reuse BlockReader when reading the same block in pread Key: HDFS-10140 URL: https://issues.apache.org/jira/browse/HDFS-10140 Project: Hadoop HDFS Issue Type: Sub-task Reporter: dragon Assignee: Jing Zhao Fix For: HDFS-7285
Currently in pread, we create a new block reader for each aligned stripe even though these stripes belong to the same block. It's better to reuse them to avoid unnecessary block reader creation overhead. This can also avoid reading from the same bad DataNode. -- This message was sent by Atlassian JIRA (v6.3.4#6332)