Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
void actualGetFromOneDataNode(final DNAddrPair datanode,
...
LocatedBlock block = getBlockAt(blockStartOffset);
...
fetchBlockAt(block.getStartOffset());
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.
Attachments
Attachments
Issue Links
- is required by
-
HDFS-8319 Erasure Coding: support decoding for stateful read
- Resolved