| 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.resolver.order |
A federated location can be resolved to multiple subclusters.
|
| Modifier and Type | Method | Description |
|---|---|---|
PathLocation |
FileSubclusterResolver.getDestinationForPath(java.lang.String path) |
Get the destinations for a global path.
|
PathLocation |
MountTableResolver.getDestinationForPath(java.lang.String path) |
|
PathLocation |
MultipleDestinationMountTableResolver.getDestinationForPath(java.lang.String path) |
|
PathLocation |
MountTableResolver.lookupLocation(java.lang.String str) |
Build the path location to insert into the cache atomically.
|
static PathLocation |
PathLocation.prioritizeDestination(PathLocation base,
java.lang.String firstNsId) |
Return a path location with the prioritized destinations based on
the current path location.
|
| Modifier and Type | Method | Description |
|---|---|---|
static PathLocation |
PathLocation.prioritizeDestination(PathLocation base,
java.lang.String firstNsId) |
Return a path location with the prioritized destinations based on
the current path location.
|
| Constructor | Description |
|---|---|
PathLocation(PathLocation other) |
Create a path location from another path.
|
PathLocation(PathLocation other,
java.lang.String firstNsId) |
Deprecated.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected java.lang.String |
AvailableSpaceResolver.chooseFirstNamespace(java.lang.String path,
PathLocation loc) |
|
protected java.lang.String |
LocalResolver.chooseFirstNamespace(java.lang.String path,
PathLocation loc) |
Get the local name space.
|
protected abstract java.lang.String |
RouterResolver.chooseFirstNamespace(java.lang.String path,
PathLocation loc) |
Choose the first namespace from queried subcluster mapping info.
|
java.lang.String |
HashFirstResolver.getFirstNamespace(java.lang.String path,
PathLocation loc) |
|
java.lang.String |
HashResolver.getFirstNamespace(java.lang.String path,
PathLocation loc) |
Use the result from consistent hashing locator to prioritize the locations
for a path.
|
java.lang.String |
OrderedResolver.getFirstNamespace(java.lang.String path,
PathLocation loc) |
Get the first namespace based on this resolver approach.
|
java.lang.String |
RandomResolver.getFirstNamespace(java.lang.String path,
PathLocation loc) |
Get a random name space from the path.
|
java.lang.String |
RouterResolver.getFirstNamespace(java.lang.String path,
PathLocation loc) |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.