@InterfaceAudience.LimitedPrivate(value={"MapReduce","YARN"}) public abstract class YarnRPC extends Object
Constructor and Description |
---|
YarnRPC() |
Modifier and Type | Method and Description |
---|---|
static YarnRPC |
create(org.apache.hadoop.conf.Configuration conf) |
abstract Object |
getProxy(Class protocol,
InetSocketAddress addr,
org.apache.hadoop.conf.Configuration conf) |
org.apache.hadoop.ipc.Server |
getServer(Class protocol,
Object instance,
InetSocketAddress addr,
org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.security.token.SecretManager<? extends org.apache.hadoop.security.token.TokenIdentifier> secretManager,
int numHandlers) |
abstract org.apache.hadoop.ipc.Server |
getServer(Class protocol,
Object instance,
InetSocketAddress addr,
org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.security.token.SecretManager<? extends org.apache.hadoop.security.token.TokenIdentifier> secretManager,
int numHandlers,
String portRangeConfig) |
abstract void |
stopProxy(Object proxy,
org.apache.hadoop.conf.Configuration conf) |
public abstract Object getProxy(Class protocol, InetSocketAddress addr, org.apache.hadoop.conf.Configuration conf)
public abstract void stopProxy(Object proxy, org.apache.hadoop.conf.Configuration conf)
public abstract org.apache.hadoop.ipc.Server getServer(Class protocol, Object instance, InetSocketAddress addr, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.security.token.SecretManager<? extends org.apache.hadoop.security.token.TokenIdentifier> secretManager, int numHandlers, String portRangeConfig)
public org.apache.hadoop.ipc.Server getServer(Class protocol, Object instance, InetSocketAddress addr, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.security.token.SecretManager<? extends org.apache.hadoop.security.token.TokenIdentifier> secretManager, int numHandlers)
public static YarnRPC create(org.apache.hadoop.conf.Configuration conf)
Copyright © 2008–2019 Apache Software Foundation. All rights reserved.