public class ClientHAProxyFactory<T> extends Object implements org.apache.hadoop.hdfs.server.namenode.ha.HAProxyFactory<T>
| Constructor and Description |
|---|
ClientHAProxyFactory() |
| Modifier and Type | Method and Description |
|---|---|
T |
createProxy(org.apache.hadoop.conf.Configuration conf,
InetSocketAddress nnAddr,
Class<T> xface,
org.apache.hadoop.security.UserGroupInformation ugi,
boolean withRetries) |
T |
createProxy(org.apache.hadoop.conf.Configuration conf,
InetSocketAddress nnAddr,
Class<T> xface,
org.apache.hadoop.security.UserGroupInformation ugi,
boolean withRetries,
AtomicBoolean fallbackToSimpleAuth) |
void |
setAlignmentContext(org.apache.hadoop.ipc.AlignmentContext alignmentContext)
Set the alignment context to be used when creating new proxies using
this factory.
|
public void setAlignmentContext(org.apache.hadoop.ipc.AlignmentContext alignmentContext)
org.apache.hadoop.hdfs.server.namenode.ha.HAProxyFactorysetAlignmentContext in interface org.apache.hadoop.hdfs.server.namenode.ha.HAProxyFactory<T>public T createProxy(org.apache.hadoop.conf.Configuration conf, InetSocketAddress nnAddr, Class<T> xface, org.apache.hadoop.security.UserGroupInformation ugi, boolean withRetries, AtomicBoolean fallbackToSimpleAuth) throws IOException
createProxy in interface org.apache.hadoop.hdfs.server.namenode.ha.HAProxyFactory<T>IOExceptionpublic T createProxy(org.apache.hadoop.conf.Configuration conf, InetSocketAddress nnAddr, Class<T> xface, org.apache.hadoop.security.UserGroupInformation ugi, boolean withRetries) throws IOException
createProxy in interface org.apache.hadoop.hdfs.server.namenode.ha.HAProxyFactory<T>IOExceptionCopyright © 2008–2024 Apache Software Foundation. All rights reserved.