ClientHAProxyFactory@Private
public interface HAProxyFactory<T>
AbstractNNFailoverProxyProvider. Client side can use
ClientProtocol to initialize the
proxy while the server side can use NamenodeProtocols| Modifier and Type | Method | Description |
|---|---|---|
T |
createProxy(org.apache.hadoop.conf.Configuration conf,
java.net.InetSocketAddress nnAddr,
java.lang.Class<T> xface,
org.apache.hadoop.security.UserGroupInformation ugi,
boolean withRetries) |
|
T |
createProxy(org.apache.hadoop.conf.Configuration conf,
java.net.InetSocketAddress nnAddr,
java.lang.Class<T> xface,
org.apache.hadoop.security.UserGroupInformation ugi,
boolean withRetries,
java.util.concurrent.atomic.AtomicBoolean fallbackToSimpleAuth) |
|
default void |
setAlignmentContext(org.apache.hadoop.ipc.AlignmentContext alignmentContext) |
Set the alignment context to be used when creating new proxies using
this factory.
|
T createProxy(org.apache.hadoop.conf.Configuration conf, java.net.InetSocketAddress nnAddr, java.lang.Class<T> xface, org.apache.hadoop.security.UserGroupInformation ugi, boolean withRetries, java.util.concurrent.atomic.AtomicBoolean fallbackToSimpleAuth) throws java.io.IOException
java.io.IOExceptionT createProxy(org.apache.hadoop.conf.Configuration conf, java.net.InetSocketAddress nnAddr, java.lang.Class<T> xface, org.apache.hadoop.security.UserGroupInformation ugi, boolean withRetries) throws java.io.IOException
java.io.IOExceptiondefault void setAlignmentContext(org.apache.hadoop.ipc.AlignmentContext alignmentContext)
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.