public class IPFailoverProxyProvider<T> extends org.apache.hadoop.hdfs.server.namenode.ha.AbstractNNFailoverProxyProvider<T>
Constructor and Description |
---|
IPFailoverProxyProvider(org.apache.hadoop.conf.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.
|
public IPFailoverProxyProvider(org.apache.hadoop.conf.Configuration conf, URI uri, Class<T> xface)
public Class<T> getInterface()
public void performFailover(T currentProxy)
public void close() throws IOException
IOException
public boolean useLogicalURI()
useLogicalURI
in class org.apache.hadoop.hdfs.server.namenode.ha.AbstractNNFailoverProxyProvider<T>
Copyright © 2017 Apache Software Foundation. All Rights Reserved.