Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
Reviewed
Description
While checking the intermittent failure in TestBalancerRPCDelay#testBalancerRPCDelayQpsDefault described in HDFS-15146, I found that the implementation of waitReplication is incorrect.
In the last iteration, when correctReplFactor is false, the thread sleeps for 1 second, then a TimeoutException is thrown without check whether the replication was complete in the last second.
Attachments
Issue Links
- Discovered while testing
-
HDFS-15671 TestBalancerRPCDelay#testBalancerRPCDelayQpsDefault fails on Trunk
- Resolved
- links to