|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.yarn.client.RMProxy<T>
@InterfaceAudience.Public @InterfaceStability.Evolving public class RMProxy<T>
| Constructor Summary | |
|---|---|
protected |
RMProxy()
|
| Method Summary | ||
|---|---|---|
protected void |
checkAllowedProtocols(Class<?> protocol)
Verify the passed protocol is supported. |
|
static org.apache.hadoop.io.retry.RetryPolicy |
createRetryPolicy(org.apache.hadoop.conf.Configuration conf)
Fetch retry policy from Configuration |
|
static
|
createRMProxy(org.apache.hadoop.conf.Configuration conf,
Class<T> protocol,
InetSocketAddress rmAddress)
Deprecated. 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 static
|
createRMProxy(org.apache.hadoop.conf.Configuration configuration,
Class<T> protocol,
RMProxy instance)
Create a proxy for the specified protocol. |
|
protected InetSocketAddress |
getRMAddress(org.apache.hadoop.yarn.conf.YarnConfiguration conf,
Class<?> protocol)
Get the ResourceManager address from the provided Configuration for the given protocol. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected RMProxy()
| Method Detail |
|---|
@InterfaceAudience.Private protected void checkAllowedProtocols(Class<?> protocol)
@InterfaceAudience.Private
protected InetSocketAddress getRMAddress(org.apache.hadoop.yarn.conf.YarnConfiguration conf,
Class<?> protocol)
throws IOException
IOException
@InterfaceAudience.Private
protected static <T> T createRMProxy(org.apache.hadoop.conf.Configuration configuration,
Class<T> protocol,
RMProxy instance)
throws IOException
IOException
@Deprecated
public static <T> T createRMProxy(org.apache.hadoop.conf.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 ResourceManager
IOException@InterfaceAudience.Private public static org.apache.hadoop.io.retry.RetryPolicy createRetryPolicy(org.apache.hadoop.conf.Configuration conf)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||