Details
-
Test
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
0.20-append
-
None
Description
The replicationTest() cases in TestFileAppend4 currently assume that the file has both valid replicas immediately after completing the file. However, the datanodes may take some milliseconds to report the replica - we should only expect 1 replica (fs.replication.min) immediately after close, and we should allow up to a second or so before asserting that we reach replication 2.
Attachments
Attachments
Issue Links
- relates to
-
HDFS-1197 Blocks are considered "complete" prematurely after commitBlockSynchronization or DN restart
- Resolved