Uses of Interface
org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.Schedulable
Packages that use Schedulable
Package
Description
-
Uses of Schedulable in org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair
Classes in org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair that implement SchedulableModifier and TypeClassDescriptionclassRepresents an application attempt from the viewpoint of the Fair Scheduler.classclassclassMethods in org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair that return types with arguments of type SchedulableModifier and TypeMethodDescriptionabstract Comparator<Schedulable>SchedulingPolicy.getComparator()The comparator returned by this method is to be used for sorting theSchedulables in that queue.Method parameters in org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair with type arguments of type SchedulableModifier and TypeMethodDescriptionabstract voidSchedulingPolicy.computeShares(Collection<? extends Schedulable> schedulables, org.apache.hadoop.yarn.api.records.Resource totalResources) Computes and updates the shares ofSchedulables as per theSchedulingPolicy, to be used later for scheduling decisions. -
Uses of Schedulable in org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.policies
Methods in org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.policies that return types with arguments of type SchedulableModifier and TypeMethodDescriptionDominantResourceFairnessPolicy.getComparator()FairSharePolicy.getComparator()FifoPolicy.getComparator()Methods in org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.policies with parameters of type SchedulableModifier and TypeMethodDescriptionprotected intDominantResourceFairnessPolicy.DominantResourceFairnessComparator.compareAttributes(Schedulable s1, Schedulable s2) This method is used when apps are tied in fairness ratio.Method parameters in org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.policies with type arguments of type SchedulableModifier and TypeMethodDescriptionstatic voidComputeFairShares.computeShares(Collection<? extends Schedulable> schedulables, org.apache.hadoop.yarn.api.records.Resource totalResources, String type) Compute fair share of the given schedulables.Fair share is an allocation of shares considering only active schedulables ie schedulables which have running apps.voidDominantResourceFairnessPolicy.computeShares(Collection<? extends Schedulable> schedulables, org.apache.hadoop.yarn.api.records.Resource totalResources) voidFairSharePolicy.computeShares(Collection<? extends Schedulable> schedulables, org.apache.hadoop.yarn.api.records.Resource totalResources) voidFifoPolicy.computeShares(Collection<? extends Schedulable> schedulables, org.apache.hadoop.yarn.api.records.Resource totalResources)