public class NameNodeHAProxyFactory<T> extends Object implements org.apache.hadoop.hdfs.server.namenode.ha.HAProxyFactory<T>
| Constructor and Description |
|---|
NameNodeHAProxyFactory() |
| 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) |
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>IOExceptionpublic void setAlignmentContext(org.apache.hadoop.ipc.AlignmentContext alignmentContext)
setAlignmentContext in interface org.apache.hadoop.hdfs.server.namenode.ha.HAProxyFactory<T>Copyright © 2008–2024 Apache Software Foundation. All rights reserved.