@InterfaceAudience.Public @InterfaceStability.Evolving public class RMProxy<T> extends Object
| 修飾子 | コンストラクタと説明 | 
|---|---|
| protected  | RMProxy() | 
| 修飾子とタイプ | メソッドと説明 | 
|---|---|
| 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. | 
| static <T> T | createRMProxy(Configuration conf,
             Class<T> protocol,
             InetSocketAddress rmAddress)非推奨です。 
 This method is deprecated and is not used by YARN internally any more.
 To create a proxy to the RM, use ClientRMProxy#createRMProxy or
 ServerRMProxy#createRMProxy.
 Create a proxy to the ResourceManager at the specified address. | 
protected RMProxy()
@Deprecated public static <T> T createRMProxy(Configuration conf, Class<T> protocol, InetSocketAddress rmAddress) throws IOException
T - Type information of the proxyconf - Configuration to generate retry policyprotocol - Protocol for the proxyrmAddress - Address of the ResourceManagerIOExceptionprotected static org.apache.hadoop.io.retry.RetryPolicy createRetryPolicy(Configuration conf, long retryTime, long retryInterval, boolean isHAEnabled)
Copyright © 2016 Apache Software Foundation. All rights reserved.