hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinayakumar B (JIRA)" <j...@apache.org>
Subject [jira] [Deleted] (HDFS-10104) CLONE - Erasure coding: properly handle start offset for internal blocks in a block group
Date Tue, 15 Mar 2016 09:42:39 GMT

     [ https://issues.apache.org/jira/browse/HDFS-10104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Vinayakumar B deleted HDFS-10104:
---------------------------------


> CLONE - Erasure coding: properly handle start offset for internal blocks in a block group
> -----------------------------------------------------------------------------------------
>
>                 Key: HDFS-10104
>                 URL: https://issues.apache.org/jira/browse/HDFS-10104
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: dragon
>            Assignee: Zhe Zhang
>             Fix For: HDFS-7285
>
>
> {code}
>   void actualGetFromOneDataNode(final DNAddrPair datanode,
>     ...
>       LocatedBlock block = getBlockAt(blockStartOffset);
>     ...
>       fetchBlockAt(block.getStartOffset());
> {code}
> The {{blockStartOffset}} here is from inner block. For parity blocks, the offset will
overlap with the next block group, and we may end up with fetching wrong block. So we have
to assign a meaningful start offset for internal blocks in a block group, especially for parity
blocks.



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

Mime
View raw message