[ https://issues.apache.org/jira/browse/HDFS-7835?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14359749#comment-14359749 ]
zhihai xu commented on HDFS-7835: --------------------------------- Hi [~yzhangal], thanks for your thorough review. I uploaded a mew patch HDFS-7835.001.patch which addressed all your comments. > make initial sleeptime in locateFollowingBlock configurable for DFSClient. > -------------------------------------------------------------------------- > > Key: HDFS-7835 > URL: https://issues.apache.org/jira/browse/HDFS-7835 > Project: Hadoop HDFS > Issue Type: Improvement > Components: dfsclient > Reporter: zhihai xu > Assignee: zhihai xu > Attachments: HDFS-7835.000.patch, HDFS-7835.001.patch > > > 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. -- This message was sent by Atlassian JIRA (v6.3.4#6332)