From f437b3bdafef124c51634e021e84f551772b3039 Mon Sep 17 00:00:00 2001 From: S O'Donnell Date: Wed, 6 Oct 2021 14:49:16 +0100 Subject: [PATCH] HDFS-16252. Correct docs for dfs.http.client.retry.policy.spec. Contributed by Stephen O'Donnell (cherry picked from commit a30231ff8e3f1e76009e28d8f8322ffbdeecd061) --- .../hadoop-hdfs/src/main/resources/hdfs-default.xml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml b/hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml index 982f182c2e..632f28e7f1 100755 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml @@ -3907,7 +3907,7 @@ 10000,6,60000,10 Specify a policy of multiple linear random retry for WebHDFS client, - e.g. given pairs of number of retries and sleep time (n0, t0), (n1, t1), + e.g. given pairs of sleep time and number of retries (t0, n0), (t1, n1), ..., the first n0 retries sleep t0 milliseconds on average, the following n1 retries sleep t1 milliseconds on average, and so on. @@ -4356,7 +4356,10 @@ dfs.client.retry.policy.spec 10000,6,60000,10 - Set to pairs of timeouts and retries for DFSClient. + Specify a policy of multiple linear random retry for the DFS client, + e.g. given pairs of sleep time and number of retries (t0, n0), (t1, n1), + ..., the first n0 retries sleep t0 milliseconds on average, + the following n1 retries sleep t1 milliseconds on average, and so on.