From 696e8e02991c2c65f05a7c39f6799a6e46d06751 Mon Sep 17 00:00:00 2001 From: Gabor Bota Date: Fri, 23 Feb 2018 13:55:18 +0900 Subject: [PATCH] HADOOP-15236. Fix typo in RequestHedgingProxyProvider and RequestHedgingRMFailoverProxyProvider Signed-off-by: Akira Ajisaka (cherry picked from commit c36b4aa31ce25fbe5fa173bce36da2950d74a475) (cherry picked from commit b8942cb3bf4a458c78654bc166447806523409b5) --- .../hdfs/server/namenode/ha/RequestHedgingProxyProvider.java | 2 +- .../yarn/client/RequestHedgingRMFailoverProxyProvider.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/server/namenode/ha/RequestHedgingProxyProvider.java b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/server/namenode/ha/RequestHedgingProxyProvider.java index 86e92a846d1..010e9e5020c 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/server/namenode/ha/RequestHedgingProxyProvider.java +++ b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/server/namenode/ha/RequestHedgingProxyProvider.java @@ -45,7 +45,7 @@ import org.slf4j.LoggerFactory; * per-se. It constructs a wrapper proxy that sends the request to ALL * underlying proxies simultaneously. It assumes the in an HA setup, there will * be only one Active, and the active should respond faster than any configured - * standbys. Once it recieve a response from any one of the configred proxies, + * standbys. Once it receive a response from any one of the configured proxies, * outstanding requests to other proxies are immediately cancelled. */ public class RequestHedgingProxyProvider extends diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/client/RequestHedgingRMFailoverProxyProvider.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/client/RequestHedgingRMFailoverProxyProvider.java index 4c1622523d2..c1e9da13f74 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/client/RequestHedgingRMFailoverProxyProvider.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/client/RequestHedgingRMFailoverProxyProvider.java @@ -49,7 +49,7 @@ import org.apache.hadoop.yarn.conf.YarnConfiguration; * underlying proxies simultaneously. Each proxy inside the wrapper proxy will * retry the corresponding target. It assumes the in an HA setup, there will be * only one Active, and the active should respond faster than any configured - * standbys. Once it receives a response from any one of the configred proxies, + * standbys. Once it receives a response from any one of the configured proxies, * outstanding requests to other proxies are immediately cancelled. */ public class RequestHedgingRMFailoverProxyProvider