org.apache.hadoop.mapred
Class JobTrackerProxies

java.lang.Object
  extended by org.apache.hadoop.mapred.JobTrackerProxies

public class JobTrackerProxies
extends java.lang.Object


Nested Class Summary
static class JobTrackerProxies.ProxyAndInfo<PROXYTYPE>
          Wrapper for a client proxy as well as its associated service ID.
 
Constructor Summary
JobTrackerProxies()
           
 
Method Summary
static
<T> JobTrackerProxies.ProxyAndInfo<T>
createNonHAProxy(org.apache.hadoop.conf.Configuration conf, java.net.InetSocketAddress jtAddr, java.lang.Class<T> xface, org.apache.hadoop.security.UserGroupInformation ugi, boolean withRetries)
           
static
<T> JobTrackerProxies.ProxyAndInfo<T>
createProxy(org.apache.hadoop.conf.Configuration conf, java.lang.String jtAddress, java.lang.Class<T> xface)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JobTrackerProxies

public JobTrackerProxies()
Method Detail

createProxy

public static <T> JobTrackerProxies.ProxyAndInfo<T> createProxy(org.apache.hadoop.conf.Configuration conf,
                                                                java.lang.String jtAddress,
                                                                java.lang.Class<T> xface)
                                                     throws java.io.IOException
Throws:
java.io.IOException

createNonHAProxy

public static <T> JobTrackerProxies.ProxyAndInfo<T> createNonHAProxy(org.apache.hadoop.conf.Configuration conf,
                                                                     java.net.InetSocketAddress jtAddr,
                                                                     java.lang.Class<T> xface,
                                                                     org.apache.hadoop.security.UserGroupInformation ugi,
                                                                     boolean withRetries)
                                                          throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2009 The Apache Software Foundation