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) |
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>
IOException
public 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>
IOException
Copyright © 2018 Apache Software Foundation. All Rights Reserved.