Package org.apache.hadoop.yarn.server.globalpolicygenerator.policygenerator
package org.apache.hadoop.yarn.server.globalpolicygenerator.policygenerator
Classes comprising the policy generator for the GPG. Responsibilities include
generating and updating policies based on the cluster status.
-
ClassDescriptionThis interface defines the plug-able policy that the PolicyGenerator uses to update policies into the state store.Load based policy that generates weighted policies by scaling the cluster load (based on pending) to a weight from 0.0 to 1.0.Default policy that does not update any policy configurations.The PolicyGenerator runs periodically and updates the policy configuration for each queue into the FederationStateStore.Simple policy that generates and updates uniform weighted locality policies.