HADOOP-15236. Fix typo in RequestHedgingProxyProvider and RequestHedgingRMFailoverProxyProvider
Signed-off-by: Akira Ajisaka <aajisaka@apache.org> (cherry picked from commitc36b4aa31c
) (cherry picked from commitb8942cb3bf
)
This commit is contained in:
parent
7a6aa7bf99
commit
696e8e0299
|
@ -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
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue