Charles Connell created HDFS-17989:
--------------------------------------

             Summary: 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
            Reporter: Charles Connell
            Assignee: Charles Connell


{{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]

Reply via email to