HADOOP-15236. Fix typo in RequestHedgingProxyProvider and RequestHedgingRMFailoverProxyProvider

Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit c36b4aa31c)
(cherry picked from commit b8942cb3bf)
This commit is contained in:
Gabor Bota 2018-02-23 13:55:18 +09:00 committed by Akira Ajisaka
parent 7a6aa7bf99
commit 696e8e0299
No known key found for this signature in database
GPG Key ID: C1EDBB9CA400FD50
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ import org.slf4j.LoggerFactory;
* per-se. It constructs a wrapper proxy that sends the request to ALL * 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 * 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 * 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. * outstanding requests to other proxies are immediately cancelled.
*/ */
public class RequestHedgingProxyProvider<T> extends public class RequestHedgingProxyProvider<T> extends

View File

@ -49,7 +49,7 @@ import org.apache.hadoop.yarn.conf.YarnConfiguration;
* underlying proxies simultaneously. Each proxy inside the wrapper proxy will * underlying proxies simultaneously. Each proxy inside the wrapper proxy will
* retry the corresponding target. It assumes the in an HA setup, there will be * 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 * 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. * outstanding requests to other proxies are immediately cancelled.
*/ */
public class RequestHedgingRMFailoverProxyProvider<T> public class RequestHedgingRMFailoverProxyProvider<T>