[
https://issues.apache.org/jira/browse/HDFS-17811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18009496#comment-18009496
]
ASF GitHub Bot commented on HDFS-17811:
---------------------------------------
hfutatzhanghb commented on PR #7820:
URL: https://github.com/apache/hadoop/pull/7820#issuecomment-3112609060
Hi, @Hexiaoqiao @zhangshuyan0 @haiyang1987 Could you please help review
this PR when you are free? Thanks very much!!!
> 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
>
> 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]