public class IPFailoverProxyProvider<T> extends AbstractNNFailoverProxyProvider<T>
AbstractNNFailoverProxyProvider.NNProxyInfo<T>conf, factory, fallbackToSimpleAuth, LOG, ugi, xface| Constructor and Description | 
|---|
| IPFailoverProxyProvider(org.apache.hadoop.conf.Configuration conf,
                       URI uri,
                       Class<T> xface,
                       org.apache.hadoop.hdfs.server.namenode.ha.HAProxyFactory<T> factory) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | close()Close the proxy, | 
| AbstractNNFailoverProxyProvider.NNProxyInfo<T> | getProxy() | 
| void | performFailover(T currentProxy)Nothing to do for IP failover | 
| boolean | useLogicalURI()Logical URI is not used for IP failover. | 
createProxyIfNeeded, getFallbackToSimpleAuth, getInterface, getProxyAddresses, getRandomOrder, setFallbackToSimpleAuthpublic AbstractNNFailoverProxyProvider.NNProxyInfo<T> getProxy()
public void performFailover(T currentProxy)
public void close()
           throws IOException
IOExceptionpublic boolean useLogicalURI()
useLogicalURI in class AbstractNNFailoverProxyProvider<T>Copyright © 2008–2023 Apache Software Foundation. All rights reserved.