Modifier and Type | Class and Description |
---|---|
class |
FSLeafQueue |
class |
FSParentQueue |
Modifier and Type | Field and Description |
---|---|
static List<FSQueue> |
FSLeafQueue.EMPTY_LIST |
Modifier and Type | Method and Description |
---|---|
FSQueue |
QueueManager.getQueue(String name)
Gets a queue by name.
|
Modifier and Type | Method and Description |
---|---|
abstract List<FSQueue> |
FSQueue.getChildQueues()
Gets the children of this queue, if any.
|
List<FSQueue> |
FSParentQueue.getChildQueues() |
List<FSQueue> |
FSLeafQueue.getChildQueues() |
Collection<FSQueue> |
QueueManager.getQueues()
Get a collection of all queues
|
Modifier and Type | Method and Description |
---|---|
void |
FSParentQueue.addChildQueue(FSQueue child) |
boolean |
MaxRunningAppsEnforcer.canAppBeRunnable(FSQueue queue,
String user)
Checks whether making the application runnable would exceed any
maxRunningApps limits.
|
protected boolean |
QueueManager.isEmpty(FSQueue queue)
Returns true if there are no applications, running or not, in the given
queue or any of its descendents.
|
void |
FSParentQueue.removeChildQueue(FSQueue child) |
Modifier and Type | Method and Description |
---|---|
abstract void |
SchedulingPolicy.computeSteadyShares(Collection<? extends FSQueue> queues,
org.apache.hadoop.yarn.api.records.Resource totalResources)
Computes and updates the steady shares of
FSQueue s as per the
SchedulingPolicy . |
Modifier and Type | Method and Description |
---|---|
void |
FifoPolicy.computeSteadyShares(Collection<? extends FSQueue> queues,
org.apache.hadoop.yarn.api.records.Resource totalResources) |
void |
FairSharePolicy.computeSteadyShares(Collection<? extends FSQueue> queues,
org.apache.hadoop.yarn.api.records.Resource totalResources) |
void |
DominantResourceFairnessPolicy.computeSteadyShares(Collection<? extends FSQueue> queues,
org.apache.hadoop.yarn.api.records.Resource totalResources) |
static void |
ComputeFairShares.computeSteadyShares(Collection<? extends FSQueue> queues,
org.apache.hadoop.yarn.api.records.Resource totalResources,
ResourceType type)
Compute the steady fair share of the given queues.
|
Modifier and Type | Method and Description |
---|---|
protected FairSchedulerQueueInfoList |
FairSchedulerQueueInfo.getChildQueues(FSQueue queue,
FairScheduler scheduler) |
Constructor and Description |
---|
FairSchedulerQueueInfo(FSQueue queue,
FairScheduler scheduler) |
Copyright © 2017 Apache Software Foundation. All Rights Reserved.