public class JobTrackerProxies extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
JobTrackerProxies.ProxyAndInfo<PROXYTYPE>
Wrapper for a client proxy as well as its associated service ID.
|
| Constructor and Description |
|---|
JobTrackerProxies() |
| Modifier and Type | Method and Description |
|---|---|
static <T> JobTrackerProxies.ProxyAndInfo<T> |
createNonHAProxy(org.apache.hadoop.conf.Configuration conf,
InetSocketAddress jtAddr,
Class<T> xface,
org.apache.hadoop.security.UserGroupInformation ugi,
boolean withRetries) |
static <T> JobTrackerProxies.ProxyAndInfo<T> |
createProxy(org.apache.hadoop.conf.Configuration conf,
String jtAddress,
Class<T> xface) |
public static <T> JobTrackerProxies.ProxyAndInfo<T> createProxy(org.apache.hadoop.conf.Configuration conf, String jtAddress, Class<T> xface) throws IOException
IOExceptionpublic static <T> JobTrackerProxies.ProxyAndInfo<T> createNonHAProxy(org.apache.hadoop.conf.Configuration conf, InetSocketAddress jtAddr, Class<T> xface, org.apache.hadoop.security.UserGroupInformation ugi, boolean withRetries) throws IOException
IOExceptionCopyright © 2009 The Apache Software Foundation