public class ServerRMProxy<T> extends RMProxy<T>
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkAllowedProtocols(Class<?> protocol) |
static <T> T |
createRMProxy(Configuration configuration,
Class<T> protocol)
Create a proxy to the ResourceManager for the specified protocol.
|
protected InetSocketAddress |
getRMAddress(YarnConfiguration conf,
Class<?> protocol) |
createRetryPolicy, createRMProxy, createRMProxypublic static <T> T createRMProxy(Configuration configuration, Class<T> protocol) throws IOException
T - Type of proxy.configuration - Configuration with all the required information.protocol - Server protocol for which proxy is being requested.IOException@InterfaceAudience.Private protected InetSocketAddress getRMAddress(YarnConfiguration conf, Class<?> protocol)
getRMAddress in class RMProxy<T>@InterfaceAudience.Private protected void checkAllowedProtocols(Class<?> protocol)
checkAllowedProtocols in class RMProxy<T>Copyright © 2018 CERN. All Rights Reserved.