| Package | Description |
|---|---|
| org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair |
| Modifier and Type | Method and Description |
|---|---|
AppSchedulable |
FSSchedulerApp.getAppSchedulable() |
AppSchedulable |
FSSchedulerNode.getReservedAppSchedulable() |
| Modifier and Type | Method and Description |
|---|---|
List<AppSchedulable> |
FSLeafQueue.getNonRunnableAppSchedulables() |
Collection<AppSchedulable> |
FSLeafQueue.getRunnableAppSchedulables() |
protected HashMap<AppSchedulable,org.apache.hadoop.yarn.api.records.Resource> |
FairScheduler.resToPreempt(FSLeafQueue sched,
long curTime)
Return the resource amount that this queue is allowed to preempt, if any.
|
| Modifier and Type | Method and Description |
|---|---|
double |
WeightAdjuster.adjustWeight(AppSchedulable app,
double curWeight) |
double |
NewAppWeightBooster.adjustWeight(AppSchedulable app,
double curWeight) |
int |
FifoAppComparator.compare(AppSchedulable a1,
AppSchedulable a2) |
ResourceWeights |
FairScheduler.getAppWeight(AppSchedulable app) |
void |
FSSchedulerApp.setAppSchedulable(AppSchedulable appSchedulable) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
FairScheduler.preemptResources(Collection<FSLeafQueue> scheds,
HashMap<AppSchedulable,org.apache.hadoop.yarn.api.records.Resource> toPreempt)
Preempt a quantity of resources from a list of QueueSchedulables.
|
Copyright © 2014 Apache Software Foundation. All Rights Reserved.