org.apache.hadoop.hdfs.server.federation.resolver.order (Apache Hadoop HDFS-RBF 3.5.0 API)
Description: declaration: package: org.apache.hadoop.hdfs.server.federation.resolver.order

# Package org.apache.hadoop.hdfs.server.federation.resolver.order

@Private @Evolving package org.apache.hadoop.hdfs.server.federation.resolver.order
A federated location can be resolved to multiple subclusters. This package takes care of the order in which this multiple destinations should be used.

- Related Packages
  Package
  Description
  org.apache.hadoop.hdfs.server.federation.resolver
  The resolver package contains indepedent data resolvers used in HDFS federation.
- Class
  Description
  AvailableSpaceResolver
  Order the destinations based on available space.
  DestinationOrder
  Order of the destinations when we have multiple of them.
  HashFirstResolver
  Variation of HashResolver that only uses the first level of the path.
  HashResolver
  Order the destinations based on consistent hashing.
  LeaderFollowerResolver
  LEADER_FOLLOWER can be used in cross-cluster disaster tolerance, and the order of namespaces is always "leader,follower,follower...".
  LocalResolver
  The local subcluster (where the writer is) should be tried first.
  OrderedResolver
  Policy that decides which should be the first location accessed given multiple destinations.
  RandomResolver
  Order the destinations randomly.
  RouterResolver<K,V>
  The order resolver that depends upon the Router service.