| Package | Description |
|---|---|
| org.apache.hadoop.hdfs |
A distributed implementation of
FileSystem. |
| Modifier and Type | Method and Description |
|---|---|
static <T> NameNodeProxies.ProxyAndInfo<T> |
NameNodeProxies.createNonHAProxy(Configuration conf,
InetSocketAddress nnAddr,
Class<T> xface,
UserGroupInformation ugi,
boolean withRetries)
Creates an explicitly non-HA-enabled proxy object.
|
static <T> NameNodeProxies.ProxyAndInfo<T> |
NameNodeProxies.createNonHAProxy(Configuration conf,
InetSocketAddress nnAddr,
Class<T> xface,
UserGroupInformation ugi,
boolean withRetries,
AtomicBoolean fallbackToSimpleAuth)
Creates an explicitly non-HA-enabled proxy object.
|
static <T> NameNodeProxies.ProxyAndInfo<T> |
NameNodeProxies.createProxy(Configuration conf,
URI nameNodeUri,
Class<T> xface)
Creates the namenode proxy with the passed protocol.
|
static <T> NameNodeProxies.ProxyAndInfo<T> |
NameNodeProxies.createProxy(Configuration conf,
URI nameNodeUri,
Class<T> xface,
AtomicBoolean fallbackToSimpleAuth)
Creates the namenode proxy with the passed protocol.
|
static <T> NameNodeProxies.ProxyAndInfo<T> |
NameNodeProxies.createProxyWithLossyRetryHandler(Configuration config,
URI nameNodeUri,
Class<T> xface,
int numResponseToDrop,
AtomicBoolean fallbackToSimpleAuth)
Generate a dummy namenode proxy instance that utilizes our hacked
LossyRetryInvocationHandler. |
| Modifier and Type | Method and Description |
|---|---|
static <T> List<NameNodeProxies.ProxyAndInfo<T>> |
HAUtil.getProxiesForAllNameNodesInNameservice(Configuration conf,
String nsId,
Class<T> xface)
Get an RPC proxy for each NN in an HA nameservice.
|
Copyright © 2018 CERN. All Rights Reserved.