public class IPFailoverProxyProvider<T> extends AbstractNNFailoverProxyProvider<T>
org.apache.hadoop.io.retry.FailoverProxyProvider.ProxyInfo<T>fallbackToSimpleAuth| Constructor and Description |
|---|
IPFailoverProxyProvider(Configuration conf,
URI uri,
Class<T> xface) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the proxy,
|
Class<T> |
getInterface() |
org.apache.hadoop.io.retry.FailoverProxyProvider.ProxyInfo<T> |
getProxy() |
void |
performFailover(T currentProxy)
Nothing to do for IP failover
|
boolean |
useLogicalURI()
Logical URI is not used for IP failover.
|
setFallbackToSimpleAuthpublic IPFailoverProxyProvider(Configuration conf, URI uri, Class<T> xface)
public Class<T> getInterface()
public org.apache.hadoop.io.retry.FailoverProxyProvider.ProxyInfo<T> getProxy()
public void performFailover(T currentProxy)
public void close() throws IOException
IOExceptionpublic boolean useLogicalURI()
useLogicalURI in class AbstractNNFailoverProxyProvider<T>Copyright © 2018 CERN. All Rights Reserved.