[
https://issues.apache.org/jira/browse/HDFS-8398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yi Liu updated HDFS-8398:
-------------------------
Description:
Currently in DFSStripedInputStream, for continuous block, if it's under
construction, we need to read the block replica length from one of datanode and
use it as last block length.
For striped block, we need to read the length of all internal data blocks of
the striped group, then add them correctly.
was:
Currently, for continuous block, if it's under construction, we need to read
the block replica length from one of datanode and use it as last block length.
For striped block, we need to read the length of all internal data blocks of
the striped group, then add them correctly.
> Erasure Coding: Correctly calculate last striped block length in
> DFSStripedInputStream if it's under construction.
> ------------------------------------------------------------------------------------------------------------------
>
> Key: HDFS-8398
> URL: https://issues.apache.org/jira/browse/HDFS-8398
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Reporter: Yi Liu
> Assignee: Yi Liu
>
> Currently in DFSStripedInputStream, for continuous block, if it's under
> construction, we need to read the block replica length from one of datanode
> and use it as last block length.
> For striped block, we need to read the length of all internal data blocks of
> the striped group, then add them correctly.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)