Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.7.0
-
None
-
Reviewed
Description
Make initial sleeptime in locateFollowingBlock configurable for DFSClient.
Current the sleeptime/localTimeout in locateFollowingBlock/completeFile from DFSOutputStream is hard-coded as 400 ms, but retries can be configured by "dfs.client.block.write.locateFollowingBlock.retries". We should also make the initial sleeptime configurable to give user more flexibility to control both retry and delay.