[
https://issues.apache.org/jira/browse/HDFS-17989?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Charles Connell resolved HDFS-17989.
------------------------------------
Resolution: Duplicate
> TestAddOverReplicatedStripedBlocks is flakey due to race condition
> ------------------------------------------------------------------
>
> Key: HDFS-17989
> URL: https://issues.apache.org/jira/browse/HDFS-17989
> Project: Hadoop HDFS
> Issue Type: Test
> Affects Versions: 3.4.3
> Reporter: Charles Connell
> Assignee: Charles Connell
> Priority: Minor
>
> {{testProcessOverReplicatedAndCorruptStripedBlock}} expects the two redundant
> copies of an internal block to still be reported after the block reports are
> processed. But processing the reports marks them as excess, and a DataNode
> heartbeat delivering the invalidation can delete one before getBlockLocations
> runs, so the test fails intermittently.
>
> Disable DataNode heartbeats before triggering the block reports, so no
> invalidation reaches the DataNodes while the locations are checked, and
> correct the comment that said the redundant copies are not deleted.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]