Uses of Class org.apache.hadoop.hdfs.server.federation.resolver.RemoteLocation (Apache Hadoop HDFS-RBF 3.5.0 API)
Description: use: package: org.apache.hadoop.hdfs.server.federation.resolver, class: RemoteLocation

# Uses of Class
org.apache.hadoop.hdfs.server.federation.resolver.RemoteLocation

Packages that use RemoteLocation
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.router.async
This package contains classes that facilitate asynchronous operations within the Hadoop Distributed File System (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.

- ## Uses of RemoteLocation in org.apache.hadoop.hdfs.server.federation.resolver

  Methods in org.apache.hadoop.hdfs.server.federation.resolver that return RemoteLocation
  Modifier and Type
  Method
  Description
  `RemoteLocation`
  PathLocation.`getDefaultLocation()`
  Get the default or highest priority location.
  Methods in org.apache.hadoop.hdfs.server.federation.resolver that return types with arguments of type RemoteLocation
  Modifier and Type
  Method
  Description
  `List<RemoteLocation>`
  PathLocation.`getDestinations()`
  Get the list of locations found in the mount table.
  Constructors in org.apache.hadoop.hdfs.server.federation.resolver with parameters of type RemoteLocation
  Modifier
  Constructor
  Description
  ``
  `RemoteLocation(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 RemoteLocation
  Modifier
  Constructor
  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.

- ## Uses of RemoteLocation in org.apache.hadoop.hdfs.server.federation.router

  Methods in org.apache.hadoop.hdfs.server.federation.router that return RemoteLocation
  Modifier and Type
  Method
  Description
  `RemoteLocation`
  RouterRpcServer.`getCreateLocationAsync(String src, List<RemoteLocation> locations)`
  Get the location to create a file.
  `RemoteLocation`
  RouterClientProtocol.`getFileRemoteLocation(String path)`
  Methods in org.apache.hadoop.hdfs.server.federation.router that return types with arguments of type RemoteLocation
  Modifier and Type
  Method
  Description
  `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.
  `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 for `RouterClientProtocol.getContentSummary(String)`.
  `List<RemoteLocation>`
  RouterRpcServer.`getLocationsForPath(String path, boolean failIfLocked)`
  Get the possible locations of a path in the federated cluster.
  `List<RemoteLocation>`
  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 in `Quota.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 RemoteLocation
  Modifier and Type
  Method
  Description
  `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.
  Method parameters in org.apache.hadoop.hdfs.server.federation.router with type arguments of type RemoteLocation
  Modifier and Type
  Method
  Description
  `protected org.apache.hadoop.fs.QuotaUsage`
  Quota.`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.
  `RemoteLocation`
  RouterRpcServer.`getCreateLocationAsync(String src, List<RemoteLocation> locations)`
  Get the location to create a file.
  `protected org.apache.hadoop.hdfs.protocol.HdfsFileStatus`
  RouterClientProtocol.`getFileInfoAll(List<RemoteLocation> locations, RemoteMethod method)`
  Get the file info from all the locations.
  `protected org.apache.hadoop.hdfs.protocol.HdfsFileStatus`
  RouterClientProtocol.`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 RemoteParam`
  RouterClientProtocol.`getRenameDestinations(List<RemoteLocation> srcLocations, List<RemoteLocation> dstLocations)`
  Determines combinations of eligible src/dst locations for a rename.
  `<T> T`
  RouterRpcClient.`invokeSingle(org.apache.hadoop.hdfs.protocol.ExtendedBlock block, RemoteMethod method, List<RemoteLocation> locations, Class<T> clazz)`
  Invokes a ClientProtocol method.
  `boolean`
  RouterFederationRename.`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 RemoteLocation
  Modifier and Type
  Method
  Description
  `RemoteLocation`
  RouterAsyncClientProtocol.`getFileRemoteLocation(String path)`
  Methods in org.apache.hadoop.hdfs.server.federation.router.async that return types with arguments of type RemoteLocation
  Modifier and Type
  Method
  Description
  `protected 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 RemoteLocation
  Modifier and Type
  Method
  Description
  `protected org.apache.hadoop.hdfs.protocol.HdfsFileStatus`
  RouterAsyncClientProtocol.`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 RemoteLocation
  Modifier and Type
  Method
  Description
  `RemoteLocation`
  MountTable.`getDefaultLocation()`
  Get the default location.
  Methods in org.apache.hadoop.hdfs.server.federation.store.records that return types with arguments of type RemoteLocation
  Modifier and Type
  Method
  Description
  `abstract 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 RemoteLocation
  Modifier and Type
  Method
  Description
  `abstract void`
  MountTable.`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 RemoteLocation
  Modifier and Type
  Method
  Description
  `List<RemoteLocation>`
  MountTablePBImpl.`getDestinations()`
  Method parameters in org.apache.hadoop.hdfs.server.federation.store.records.impl.pb with type arguments of type RemoteLocation
  Modifier and Type
  Method
  Description
  `void`
  MountTablePBImpl.`setDestinations(List<RemoteLocation> dests)`