public class ConfiguredFailoverProxyProvider<T> extends AbstractNNFailoverProxyProvider<T>
org.apache.hadoop.io.retry.FailoverProxyProvider.ProxyInfo<T>fallbackToSimpleAuth| Constructor and Description |
|---|
ConfiguredFailoverProxyProvider(Configuration conf,
URI uri,
Class<T> xface) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close all the proxy objects which have been opened over the lifetime of
this proxy provider.
|
Class<T> |
getInterface() |
org.apache.hadoop.io.retry.FailoverProxyProvider.ProxyInfo<T> |
getProxy()
Lazily initialize the RPC proxy object.
|
void |
performFailover(T currentProxy) |
boolean |
useLogicalURI()
Logical URI is required for this failover proxy provider.
|
setFallbackToSimpleAuthpublic ConfiguredFailoverProxyProvider(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.