Package org.apache.hadoop.yarn.server.federation.policies.router
package org.apache.hadoop.yarn.server.federation.policies.router
Router policies.
-
ClassDescriptionBase abstract class for
FederationRouterPolicyimplementations, that provides common validation for reinitialization.Implements the logic for determining the routing of an application submission based on a policy.ThisFederationRouterPolicypick a subcluster based on the hash of the job's queue name.This implements a simple load-balancing policy.This policy selects the subcluster depending on the node where the Client wants to run its application.This implements a policy that interprets "weights" as a ordered list of preferences among sub-clusters.ThisFederationRouterPolicysimply rejects all incoming requests.This simple policy picks at uniform random among any of the currently active subclusters.This policy implements a weighted random sample among currently active sub-clusters.