Uses of Class
org.apache.hadoop.hdfs.server.federation.resolver.PathLocation
Packages that use PathLocation
Package
Description
The resolver package contains indepedent data resolvers used in HDFS
federation.
A federated location can be resolved to multiple subclusters.
-
Uses of PathLocation in org.apache.hadoop.hdfs.server.federation.resolver
Methods in org.apache.hadoop.hdfs.server.federation.resolver that return PathLocationModifier and TypeMethodDescriptionFileSubclusterResolver.getDestinationForPath(String path) Get the destinations for a global path.MountTableResolver.getDestinationForPath(String path) MultipleDestinationMountTableResolver.getDestinationForPath(String path) MountTableResolver.lookupLocation(String str) Build the path location to insert into the cache atomically.static PathLocationPathLocation.prioritizeDestination(PathLocation base, String firstNsId) Return a path location with the prioritized destinations based on the current path location.Methods in org.apache.hadoop.hdfs.server.federation.resolver with parameters of type PathLocationModifier and TypeMethodDescriptionstatic PathLocationPathLocation.prioritizeDestination(PathLocation base, String firstNsId) Return a path location with the prioritized destinations based on the current path location.Constructors in org.apache.hadoop.hdfs.server.federation.resolver with parameters of type PathLocationModifierConstructorDescriptionPathLocation(PathLocation other) Create a path location from another path.PathLocation(PathLocation other, String firstNsId) Deprecated. -
Uses of PathLocation in org.apache.hadoop.hdfs.server.federation.resolver.order
Methods in org.apache.hadoop.hdfs.server.federation.resolver.order with parameters of type PathLocationModifier and TypeMethodDescriptionprotected StringAvailableSpaceResolver.chooseFirstNamespace(String path, PathLocation loc) protected StringLocalResolver.chooseFirstNamespace(String path, PathLocation loc) Get the local name space.protected abstract StringRouterResolver.chooseFirstNamespace(String path, PathLocation loc) Choose the first namespace from queried subcluster mapping info.HashFirstResolver.getFirstNamespace(String path, PathLocation loc) HashResolver.getFirstNamespace(String path, PathLocation loc) Use the result from consistent hashing locator to prioritize the locations for a path.LeaderFollowerResolver.getFirstNamespace(String path, PathLocation loc) OrderedResolver.getFirstNamespace(String path, PathLocation loc) Get the first namespace based on this resolver approach.RandomResolver.getFirstNamespace(String path, PathLocation loc) Get a random name space from the path.RouterResolver.getFirstNamespace(String path, PathLocation loc)