You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Shilun Fan (Jira)" <ji...@apache.org> on 2024/01/04 06:21:00 UTC
[jira] [Updated] (HDFS-17267) Client send the smae packet multiple times when method markSlowNode throws IOException.
[ https://issues.apache.org/jira/browse/HDFS-17267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shilun Fan updated HDFS-17267:
------------------------------
Target Version/s: 3.4.1 (was: 3.4.0)
> Client send the smae packet multiple times when method markSlowNode throws IOException.
> ---------------------------------------------------------------------------------------
>
> Key: HDFS-17267
> URL: https://issues.apache.org/jira/browse/HDFS-17267
> Project: Hadoop HDFS
> Issue Type: Improvement
> Affects Versions: 3.3.6
> Reporter: farmmamba
> Assignee: farmmamba
> Priority: Major
> Labels: pull-request-available
>
> Since we have HDFS-16348, we can kick out SLOW node in pipeline when writing data to pipeline.
> And I think it introduced a problem, that is the same packet will be sent twice or more times when we kick out SLOW node.
>
> The flow are as below:
> 1、 DFSPacket p1 is pushed into dataQueue.
> 2、DataStreamer takes DFSPacket p1 from dataQueue.
> 3、Remove p1 from dataQueue and push p1 into ackQueue.
> 4、sendPacket(p1).
> 5、In ResponseProcessor#run, read pipelineAck for p1.
> 6、We meet SlOW node, so method markSlowNode throw IOException and does not execute `ackQueue.removeFirst();`.
> 7、In next loop of DataStreamer#run, we come into method processDatanodeOrExternalError and execute `dataQueue.addAll(0, ackQueue);`.
> 8、the p1 will be sent repeatedly.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org