hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Walter Su (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-8760) Erasure Coding: reuse BlockReader when reading the same block in pread
Date Mon, 20 Jul 2015 12:22:05 GMT

    [ https://issues.apache.org/jira/browse/HDFS-8760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14633501#comment-14633501
] 

Walter Su commented on HDFS-8760:
---------------------------------

I just saw HADOOP-12060 fixes #4. Please ignore #4.

> 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
>         Attachments: HDFS-8760.000.patch
>
>
> 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)

Mime
View raw message