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 and Description |
---|---|
RemoteLocation |
PathLocation.getDefaultLocation()
Get the default or highest priority location.
|
Modifier and Type | Method and Description |
---|---|
List<RemoteLocation> |
PathLocation.getDestinations()
Get the list of locations found in the mount table.
|
Constructor and Description |
---|
PathLocation(String source,
List<RemoteLocation> dest)
Create a new PathLocation with default HASH order.
|
PathLocation(String source,
List<RemoteLocation> dest,
DestinationOrder order)
Create a new PathLocation.
|
Modifier and Type | Method and Description |
---|---|
protected RemoteLocation |
RouterRpcServer.getLocationForPath(String path,
boolean failIfLocked,
String blockPoolId)
Locate the location with the matching block pool id.
|
Modifier and Type | Method and Description |
---|---|
protected List<RemoteLocation> |
RouterRpcServer.getLocationsForPath(String path,
boolean failIfLocked)
Get the possible locations of a path in the federated cluster.
|
protected List<RemoteLocation> |
RouterRpcServer.getLocationsForPath(String path,
boolean failIfLocked,
boolean needQuotaVerify)
Get the possible locations of a path in the federated cluster.
|
Modifier and Type | Method and Description |
---|---|
RemoteLocation |
MountTable.getDefaultLocation()
Get the default location.
|
Modifier and Type | Method and Description |
---|---|
abstract List<RemoteLocation> |
MountTable.getDestinations()
Get a list of destinations (namespace + path) present for this entry.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
MountTable.setDestinations(List<RemoteLocation> dests)
Set the destination paths.
|
Modifier and Type | Method and Description |
---|---|
List<RemoteLocation> |
MountTablePBImpl.getDestinations() |
Modifier and Type | Method and Description |
---|---|
void |
MountTablePBImpl.setDestinations(List<RemoteLocation> dests) |
Copyright © 2008–2022 Apache Software Foundation. All rights reserved.