Package | Description |
---|---|
org.apache.hadoop.hdfs.server.federation.resolver |
The resolver package contains indepedent data resolvers used in HDFS
federation.
|
org.apache.hadoop.hdfs.server.federation.router |
The router package includes the core services for a HDFS federation router.
|
Modifier and Type | Class and Description |
---|---|
class |
FederationNamespaceInfo
Represents information about a single nameservice/namespace in a federated
HDFS cluster.
|
class |
RemoteLocation
A location in a remote namespace consisting of a nameservice ID and a HDFS
path (destination).
|
Modifier and Type | Method and Description |
---|---|
int |
FederationNamespaceInfo.compareTo(RemoteLocationContext info) |
Modifier and Type | Class and Description |
---|---|
class |
RemoteResult<T extends RemoteLocationContext,R>
Result from a remote location.
|
Modifier and Type | Method and Description |
---|---|
<T extends RemoteLocationContext> |
RouterRpcClient.invokeAll(Collection<T> locations,
RemoteMethod method)
Invoke method in all locations and return success if any succeeds.
|
<T extends RemoteLocationContext,R> |
RouterRpcClient.invokeConcurrent(Collection<T> locations,
RemoteMethod method)
Invoke multiple concurrent proxy calls to different clients.
|
<T extends RemoteLocationContext,R> |
RouterRpcClient.invokeConcurrent(Collection<T> locations,
RemoteMethod method,
boolean requireResponse,
boolean standby)
Invoke multiple concurrent proxy calls to different clients.
|
<T extends RemoteLocationContext,R> |
RouterRpcClient.invokeConcurrent(Collection<T> locations,
RemoteMethod method,
boolean requireResponse,
boolean standby,
Class<R> clazz)
Invokes multiple concurrent proxy calls to different clients.
|
<T extends RemoteLocationContext,R> |
RouterRpcClient.invokeConcurrent(Collection<T> locations,
RemoteMethod method,
boolean requireResponse,
boolean standby,
long timeOutMs,
Class<R> clazz)
Invokes multiple concurrent proxy calls to different clients.
|
<T extends RemoteLocationContext,R> |
RouterRpcClient.invokeConcurrent(Collection<T> locations,
RemoteMethod method,
boolean standby,
long timeOutMs,
Class<R> clazz)
Invokes multiple concurrent proxy calls to different clients.
|
<T extends RemoteLocationContext,R> |
RouterRpcClient.invokeConcurrent(Collection<T> locations,
RemoteMethod method,
Class<R> clazz)
Invoke multiple concurrent proxy calls to different clients.
|
<R extends RemoteLocationContext,T> |
RouterRpcClient.invokeSequential(RemoteMethod remoteMethod,
List<R> locations,
Class<T> expectedResultClass,
Object expectedResultValue)
Invokes sequential proxy calls to different locations.
|
Modifier and Type | Method and Description |
---|---|
int |
RemoteLocationContext.compareTo(RemoteLocationContext info) |
Object |
RemoteParam.getParameterForContext(RemoteLocationContext context)
Determine the appropriate value for this parameter based on the location.
|
Object[] |
RemoteMethod.getParams(RemoteLocationContext context)
Generate a list of parameters for this specific location.
|
<T> T |
RouterRpcClient.invokeSingle(RemoteLocationContext location,
RemoteMethod remoteMethod,
Class<T> clazz)
Invokes a single proxy call for a single location.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
RouterRpcClient.invokeSequential(List<? extends RemoteLocationContext> locations,
RemoteMethod remoteMethod)
Invokes sequential proxy calls to different locations.
|
<T> T |
RouterRpcClient.invokeSequential(List<? extends RemoteLocationContext> locations,
RemoteMethod remoteMethod,
Class<T> expectedResultClass,
Object expectedResultValue)
Invokes sequential proxy calls to different locations.
|
Constructor and Description |
---|
RemoteParam(Map<? extends RemoteLocationContext,? extends Object> map)
Constructs a map based remote parameter.
|
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.