| 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.
|
| org.apache.hadoop.hdfs.server.federation.store.records |
Contains the abstract definitions of the state store data records.
|
| org.apache.hadoop.hdfs.server.federation.store.records.impl.pb |
The protobuf implementations of state store data records defined in the
org.apache.hadoop.hdfs.server.federation.store.records package.
|
| Modifier and Type | Method | Description |
|---|---|---|
RemoteLocation |
PathLocation.getDefaultLocation() |
Get the default or highest priority location.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<RemoteLocation> |
PathLocation.getDestinations() |
Get the list of locations found in the mount table.
|
| Constructor | Description |
|---|---|
RemoteLocation(RemoteLocation remoteLocation,
java.lang.String path) |
Use the Ns and Nn of a remote location
and another path to create a new remote location pointing.
|
| Constructor | Description |
|---|---|
PathLocation(java.lang.String source,
java.util.List<RemoteLocation> dest) |
Create a new PathLocation with default HASH order.
|
PathLocation(java.lang.String source,
java.util.List<RemoteLocation> dest,
DestinationOrder order) |
Create a new PathLocation.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected RemoteLocation |
RouterRpcServer.getLocationForPath(java.lang.String path,
boolean failIfLocked,
java.lang.String blockPoolId) |
Locate the location with the matching block pool id.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected java.util.List<RemoteLocation> |
RouterRpcServer.getLocationsForPath(java.lang.String path,
boolean failIfLocked) |
Get the possible locations of a path in the federated cluster.
|
protected java.util.List<RemoteLocation> |
RouterRpcServer.getLocationsForPath(java.lang.String path,
boolean failIfLocked,
boolean needQuotaVerify) |
Get the possible locations of a path in the federated cluster.
|
| Modifier and Type | Method | Description |
|---|---|---|
<T> T |
RouterRpcClient.invokeSingle(org.apache.hadoop.hdfs.protocol.ExtendedBlock block,
RemoteMethod method,
java.util.List<RemoteLocation> locations,
java.lang.Class<T> clazz) |
Invokes a ClientProtocol method.
|
| Modifier and Type | Method | Description |
|---|---|---|
RemoteLocation |
MountTable.getDefaultLocation() |
Get the default location.
|
| Modifier and Type | Method | Description |
|---|---|---|
abstract java.util.List<RemoteLocation> |
MountTable.getDestinations() |
Get a list of destinations (namespace + path) present for this entry.
|
| Modifier and Type | Method | Description |
|---|---|---|
abstract void |
MountTable.setDestinations(java.util.List<RemoteLocation> dests) |
Set the destination paths.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<RemoteLocation> |
MountTablePBImpl.getDestinations() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
MountTablePBImpl.setDestinations(java.util.List<RemoteLocation> dests) |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.