Uses of Class
org.apache.hadoop.hdfs.server.federation.resolver.RemoteLocation
Packages that use RemoteLocation
Package
Description
The resolver package contains indepedent data resolvers used in HDFS
federation.
The router package includes the core services for a HDFS federation router.
This package contains classes that facilitate asynchronous operations within the Hadoop
Distributed File System (HDFS) Federation router.
Contains the abstract definitions of the state store data records.
The protobuf implementations of state store data records defined in the
org.apache.hadoop.hdfs.server.federation.store.records package.
-
Uses of RemoteLocation in org.apache.hadoop.hdfs.server.federation.resolver
Methods in org.apache.hadoop.hdfs.server.federation.resolver that return RemoteLocationModifier and TypeMethodDescriptionPathLocation.getDefaultLocation()Get the default or highest priority location.Methods in org.apache.hadoop.hdfs.server.federation.resolver that return types with arguments of type RemoteLocationModifier and TypeMethodDescriptionPathLocation.getDestinations()Get the list of locations found in the mount table.Constructors in org.apache.hadoop.hdfs.server.federation.resolver with parameters of type RemoteLocationModifierConstructorDescriptionRemoteLocation(RemoteLocation remoteLocation, String path) Use the Ns and Nn of a remote location and another path to create a new remote location pointing.Constructor parameters in org.apache.hadoop.hdfs.server.federation.resolver with type arguments of type RemoteLocationModifierConstructorDescriptionPathLocation(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. -
Uses of RemoteLocation in org.apache.hadoop.hdfs.server.federation.router
Methods in org.apache.hadoop.hdfs.server.federation.router that return RemoteLocationModifier and TypeMethodDescriptionRouterRpcServer.getCreateLocationAsync(String src, List<RemoteLocation> locations) Get the location to create a file.RouterClientProtocol.getFileRemoteLocation(String path) Methods in org.apache.hadoop.hdfs.server.federation.router that return types with arguments of type RemoteLocationModifier and TypeMethodDescriptionprotected List<RemoteLocation>RouterClientProtocol.checkFaultTolerantRetry(RemoteMethod method, String src, IOException ioe, RemoteLocation excludeLoc, List<RemoteLocation> locations) Check if a remote method can be retried in other subclusters when it failed in the original destination.protected Map<RemoteLocation,org.apache.hadoop.fs.QuotaUsage> Quota.getEachQuotaUsage(String path) Get quota usage for the federation path.protected List<RemoteResult<RemoteLocation,org.apache.hadoop.hdfs.protocol.DirectoryListing>> RouterClientProtocol.getListingInt(String src, byte[] startAfter, boolean needLocation) Get a partial listing of the indicated directory.protected List<RemoteLocation>RouterClientProtocol.getLocationsForContentSummary(String path) Get all the locations of the path forRouterClientProtocol.getContentSummary(String).RouterRpcServer.getLocationsForPath(String path, boolean failIfLocked) Get the possible locations of a path in the federated cluster.RouterRpcServer.getLocationsForPath(String path, boolean failIfLocked, boolean needQuotaVerify) Get the possible locations of a path in the federated cluster.protected Map<RemoteLocation,org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo> RouterCacheAdmin.getRemoteMap(org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo path, List<RemoteLocation> locations) Returns a map with the CacheDirectiveInfo mapped to each location.protected List<RemoteLocation>Quota.getValidQuotaLocations(String path) Get valid quota remote locations used inQuota.getQuotaUsage(String).protected Map<RemoteLocation,Long> RouterCacheAdmin.invokeAddCacheDirective(org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo path, EnumSet<org.apache.hadoop.fs.CacheFlag> flags) Methods in org.apache.hadoop.hdfs.server.federation.router with parameters of type RemoteLocationModifier and TypeMethodDescriptionprotected List<RemoteLocation>RouterClientProtocol.checkFaultTolerantRetry(RemoteMethod method, String src, IOException ioe, RemoteLocation excludeLoc, List<RemoteLocation> locations) Check if a remote method can be retried in other subclusters when it failed in the original destination.Method parameters in org.apache.hadoop.hdfs.server.federation.router with type arguments of type RemoteLocationModifier and TypeMethodDescriptionprotected org.apache.hadoop.fs.QuotaUsageQuota.aggregateQuota(String path, Map<RemoteLocation, org.apache.hadoop.fs.QuotaUsage> results) Aggregate quota that queried from sub-clusters.protected List<RemoteLocation>RouterClientProtocol.checkFaultTolerantRetry(RemoteMethod method, String src, IOException ioe, RemoteLocation excludeLoc, List<RemoteLocation> locations) Check if a remote method can be retried in other subclusters when it failed in the original destination.RouterRpcServer.getCreateLocationAsync(String src, List<RemoteLocation> locations) Get the location to create a file.protected org.apache.hadoop.hdfs.protocol.HdfsFileStatusRouterClientProtocol.getFileInfoAll(List<RemoteLocation> locations, RemoteMethod method) Get the file info from all the locations.protected org.apache.hadoop.hdfs.protocol.HdfsFileStatusRouterClientProtocol.getFileInfoAll(List<RemoteLocation> locations, RemoteMethod method, long timeOutMs) Get the file info from all the locations.protected Map<RemoteLocation,org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo> RouterCacheAdmin.getRemoteMap(org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo path, List<RemoteLocation> locations) Returns a map with the CacheDirectiveInfo mapped to each location.protected RemoteParamRouterClientProtocol.getRenameDestinations(List<RemoteLocation> srcLocations, List<RemoteLocation> dstLocations) Determines combinations of eligible src/dst locations for a rename.<T> TRouterRpcClient.invokeSingle(org.apache.hadoop.hdfs.protocol.ExtendedBlock block, RemoteMethod method, List<RemoteLocation> locations, Class<T> clazz) Invokes a ClientProtocol method.booleanRouterFederationRename.routerFedRename(String src, String dst, List<RemoteLocation> srcLocations, List<RemoteLocation> dstLocations) Router federation rename across namespaces. -
Uses of RemoteLocation in org.apache.hadoop.hdfs.server.federation.router.async
Methods in org.apache.hadoop.hdfs.server.federation.router.async that return RemoteLocationMethods in org.apache.hadoop.hdfs.server.federation.router.async that return types with arguments of type RemoteLocationModifier and TypeMethodDescriptionprotected Map<RemoteLocation,org.apache.hadoop.fs.QuotaUsage> AsyncQuota.getEachQuotaUsage(String path) Get quota usage for the federation path.protected List<RemoteResult<RemoteLocation,org.apache.hadoop.hdfs.protocol.DirectoryListing>> RouterAsyncClientProtocol.getListingInt(String src, byte[] startAfter, boolean needLocation) Get listing on remote locations.Method parameters in org.apache.hadoop.hdfs.server.federation.router.async with type arguments of type RemoteLocationModifier and TypeMethodDescriptionprotected org.apache.hadoop.hdfs.protocol.HdfsFileStatusRouterAsyncClientProtocol.getFileInfoAll(List<RemoteLocation> locations, RemoteMethod method, long timeOutMs) -
Uses of RemoteLocation in org.apache.hadoop.hdfs.server.federation.store.records
Methods in org.apache.hadoop.hdfs.server.federation.store.records that return RemoteLocationMethods in org.apache.hadoop.hdfs.server.federation.store.records that return types with arguments of type RemoteLocationModifier and TypeMethodDescriptionabstract List<RemoteLocation>MountTable.getDestinations()Get a list of destinations (namespace + path) present for this entry.Method parameters in org.apache.hadoop.hdfs.server.federation.store.records with type arguments of type RemoteLocationModifier and TypeMethodDescriptionabstract voidMountTable.setDestinations(List<RemoteLocation> dests) Set the destination paths. -
Uses of RemoteLocation in org.apache.hadoop.hdfs.server.federation.store.records.impl.pb
Methods in org.apache.hadoop.hdfs.server.federation.store.records.impl.pb that return types with arguments of type RemoteLocationMethod parameters in org.apache.hadoop.hdfs.server.federation.store.records.impl.pb with type arguments of type RemoteLocationModifier and TypeMethodDescriptionvoidMountTablePBImpl.setDestinations(List<RemoteLocation> dests)