Jing Zhao created HDFS-8760:
-------------------------------

             Summary: Erasure Coding: reuse BlockReader when reading the same 
block in pread
                 Key: HDFS-8760
                 URL: https://issues.apache.org/jira/browse/HDFS-8760
             Project: Hadoop HDFS
          Issue Type: Sub-task
            Reporter: Jing Zhao
            Assignee: Jing Zhao


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)

Reply via email to