@InterfaceAudience.Public @InterfaceStability.Evolving public class RMProxy<T> extends Object
Modifier | Constructor and Description |
---|---|
protected |
RMProxy() |
Modifier and Type | Method and Description |
---|---|
static <T> T |
createRMProxy(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 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 ResourceManagerIOException
Copyright © 2018 Apache Software Foundation. All rights reserved.