Package | Description |
---|---|
org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair |
Modifier and Type | Method and Description |
---|---|
RMContainer |
FSSchedulerApp.allocate(NodeType type,
FSSchedulerNode node,
Priority priority,
ResourceRequest request,
Container container) |
Resource |
AppSchedulable.assignContainer(FSSchedulerNode node) |
Resource |
FSLeafQueue.assignContainer(FSSchedulerNode node) |
abstract Resource |
Schedulable.assignContainer(FSSchedulerNode node)
Assign a container on this node if possible, and return the amount of
resources assigned.
|
Resource |
FSParentQueue.assignContainer(FSSchedulerNode node) |
protected boolean |
FSQueue.assignContainerPreCheck(FSSchedulerNode node)
Helper method to check if the queue should attempt assigning resources
|
Resource |
AppSchedulable.assignReservedContainer(FSSchedulerNode node) |
Container |
AppSchedulable.createContainer(FSSchedulerApp application,
FSSchedulerNode node,
Resource capability,
Priority priority)
Create and return a container object reflecting an allocation for the
given appliction on the given node with the given capability and
priority.
|
boolean |
AppSchedulable.hasContainerForNode(Priority prio,
FSSchedulerNode node)
Whether this app has containers requests that could be satisfied on the
given node, if the node had full space.
|
boolean |
FSSchedulerApp.isReserved(FSSchedulerNode node,
Priority priority)
Has the application reserved the given
node at the
given priority ? |
RMContainer |
FSSchedulerApp.reserve(FSSchedulerNode node,
Priority priority,
RMContainer rmContainer,
Container container) |
void |
FSSchedulerApp.unreserve(FSSchedulerNode node,
Priority priority) |
void |
AppSchedulable.unreserve(Priority priority,
FSSchedulerNode node)
Remove the reservation on
node at the given
Priority . |
Copyright © 2013 Apache Software Foundation. All rights reserved.