hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhe Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-7853) Erasure coding: extend LocatedBlocks to support reading from striped files
Date Wed, 18 Mar 2015 20:33:38 GMT

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

Zhe Zhang commented on HDFS-7853:
---------------------------------

In HDFS-7369 we are trying to find indices of missing blocks in a group (in {{BlockMananger#chooseSourceDatanodes}}.
The current logic is to iterate through all the block's storages, for each storage, find its
index through {{BlockInfoStriped#getStorageBlockIndex}}, deduct those and find out which ones
are missing. I think this operation would be more efficient if we use sentinels. 

[~jingzhao] What's your thought on this?

> Erasure coding: extend LocatedBlocks to support reading from striped files
> --------------------------------------------------------------------------
>
>                 Key: HDFS-7853
>                 URL: https://issues.apache.org/jira/browse/HDFS-7853
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Zhe Zhang
>            Assignee: Jing Zhao
>             Fix For: HDFS-7285
>
>         Attachments: HDFS-7853.000.patch, HDFS-7853.001.patch, HDFS-7853.002.patch
>
>
> We should extend {{LocatedBlocks}} class so {{getBlockLocations}} can work with striping
layout (possibly an extra list specifying the index of each location in the group)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message