@InterfaceAudience.Public @InterfaceStability.Evolving public class RMProxy<T> extends Object
Modifier | Constructor and Description |
---|---|
protected |
RMProxy() |
Modifier and Type | Method and Description |
---|---|
protected static org.apache.hadoop.io.retry.RetryPolicy |
createRetryPolicy(Configuration conf,
long retryTime,
long retryInterval,
boolean isHAEnabled)
Fetch retry policy from Configuration and create the
retry policy with specified retryTime and retry interval.
|
protected static org.apache.hadoop.io.retry.RetryPolicy createRetryPolicy(Configuration conf, long retryTime, long retryInterval, boolean isHAEnabled)
conf
- configuration.retryTime
- retry time.retryInterval
- retry interval.isHAEnabled
- is HA enabled.Copyright © 2023 Apache Software Foundation. All rights reserved.