[
https://issues.apache.org/jira/browse/HDFS-17811?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Xiaoqiao He resolved HDFS-17811.
--------------------------------
Fix Version/s: 3.5.0
Hadoop Flags: Reviewed
Resolution: Fixed
> EC: DFSStripedInputStream supports retrying just like DFSInputStream
> --------------------------------------------------------------------
>
> Key: HDFS-17811
> URL: https://issues.apache.org/jira/browse/HDFS-17811
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: ec, hdfs-client
> Reporter: farmmamba
> Assignee: farmmamba
> Priority: Major
> Labels: pull-request-available
> Fix For: 3.5.0
>
>
> This is an very useful improvment for EC read. It can reduce the the
> frequency of read failures due to a rolling restart of the DataNodes.
> We have met below use case:
> {code:java}
> InputStream in = open();
> while (not reach EOF) {
> in.read(buf, offset, len);
> do some logic which is long time costed.
> } {code}
> If we start rolling restart of the datanodes, above case will finally fail
> because all blockReaders may be marked as skip status by StripeReader. So, we
> should make DFSStripedInputStream support retrying just like what
> DFSInputStream does.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]