Package | Description |
---|---|
org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair | |
org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.policies |
Modifier and Type | Class and Description |
---|---|
class |
FSAppAttempt
Represents an application attempt from the viewpoint of the Fair Scheduler.
|
class |
FSLeafQueue |
class |
FSParentQueue |
class |
FSQueue |
Modifier and Type | Method and Description |
---|---|
abstract Comparator<Schedulable> |
SchedulingPolicy.getComparator()
The comparator returned by this method is to be used for sorting the
Schedulable s in that queue. |
Modifier and Type | Method and Description |
---|---|
abstract void |
SchedulingPolicy.computeShares(Collection<? extends Schedulable> schedulables,
org.apache.hadoop.yarn.api.records.Resource totalResources)
Computes and updates the shares of
Schedulable s as per
the SchedulingPolicy , to be used later for scheduling decisions. |
Modifier and Type | Method and Description |
---|---|
Comparator<Schedulable> |
FifoPolicy.getComparator() |
Comparator<Schedulable> |
FairSharePolicy.getComparator() |
Comparator<Schedulable> |
DominantResourceFairnessPolicy.getComparator() |
Modifier and Type | Method and Description |
---|---|
int |
DominantResourceFairnessPolicy.DominantResourceFairnessComparator.compare(Schedulable s1,
Schedulable s2) |
Modifier and Type | Method and Description |
---|---|
void |
FifoPolicy.computeShares(Collection<? extends Schedulable> schedulables,
org.apache.hadoop.yarn.api.records.Resource totalResources) |
void |
FairSharePolicy.computeShares(Collection<? extends Schedulable> schedulables,
org.apache.hadoop.yarn.api.records.Resource totalResources) |
void |
DominantResourceFairnessPolicy.computeShares(Collection<? extends Schedulable> schedulables,
org.apache.hadoop.yarn.api.records.Resource totalResources) |
static void |
ComputeFairShares.computeShares(Collection<? extends Schedulable> schedulables,
org.apache.hadoop.yarn.api.records.Resource totalResources,
ResourceType 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.
|
Copyright © 2017 Apache Software Foundation. All Rights Reserved.