| Modifier and Type | Method and Description |
|---|---|
void |
RMApplicationHistoryWriter.containerFinished(RMContainer container) |
void |
RMApplicationHistoryWriter.containerStarted(RMContainer container) |
| Modifier and Type | Class and Description |
|---|---|
class |
RMContainerImpl |
| Modifier and Type | Field and Description |
|---|---|
protected Map<org.apache.hadoop.yarn.api.records.ContainerId,RMContainer> |
SchedulerApplicationAttempt.liveContainers |
protected List<RMContainer> |
SchedulerApplicationAttempt.newlyAllocatedContainers |
protected Map<org.apache.hadoop.yarn.api.records.Priority,Map<org.apache.hadoop.yarn.api.records.NodeId,RMContainer>> |
SchedulerApplicationAttempt.reservedContainers |
| Modifier and Type | Method and Description |
|---|---|
RMContainer |
ContainerPreemptEvent.getContainer() |
RMContainer |
YarnScheduler.getRMContainer(org.apache.hadoop.yarn.api.records.ContainerId containerId)
Get the container for the given containerId.
|
RMContainer |
SchedulerApplicationAttempt.getRMContainer(org.apache.hadoop.yarn.api.records.ContainerId id) |
RMContainer |
SchedulerApplicationAttempt.reserve(SchedulerNode node,
org.apache.hadoop.yarn.api.records.Priority priority,
RMContainer rmContainer,
org.apache.hadoop.yarn.api.records.Container container) |
| Modifier and Type | Method and Description |
|---|---|
Collection<RMContainer> |
SchedulerApplicationAttempt.getLiveContainers()
Get the live containers of the application.
|
Collection<RMContainer> |
SchedulerAppReport.getLiveContainers()
Get the list of live containers
|
Map<org.apache.hadoop.yarn.api.records.ContainerId,RMContainer> |
SchedulerApplicationAttempt.getLiveContainersMap() |
List<RMContainer> |
SchedulerApplicationAttempt.getReservedContainers()
Get the list of reserved containers
|
Collection<RMContainer> |
SchedulerAppReport.getReservedContainers()
Get the list of reserved containers
|
| Modifier and Type | Method and Description |
|---|---|
void |
PreemptableResourceScheduler.dropContainerReservation(RMContainer container)
If the scheduler support container reservations, this method is used to
ask the scheduler to drop the reservation for the given container.
|
void |
PreemptableResourceScheduler.killContainer(RMContainer container)
Ask the scheduler to forcibly interrupt the container given as input
|
void |
PreemptableResourceScheduler.preemptContainer(org.apache.hadoop.yarn.api.records.ApplicationAttemptId aid,
RMContainer container)
Ask the scheduler to obtain back the container from a specific application
by issuing a preemption request
|
RMContainer |
SchedulerApplicationAttempt.reserve(SchedulerNode node,
org.apache.hadoop.yarn.api.records.Priority priority,
RMContainer rmContainer,
org.apache.hadoop.yarn.api.records.Container container) |
| Constructor and Description |
|---|
ContainerPreemptEvent(org.apache.hadoop.yarn.api.records.ApplicationAttemptId aid,
RMContainer container,
ContainerPreemptEventType type) |
| Modifier and Type | Method and Description |
|---|---|
RMContainer |
CSAssignment.getExcessReservation() |
RMContainer |
CapacityScheduler.getRMContainer(org.apache.hadoop.yarn.api.records.ContainerId containerId) |
| Modifier and Type | Method and Description |
|---|---|
void |
CSQueue.completedContainer(org.apache.hadoop.yarn.api.records.Resource clusterResource,
FiCaSchedulerApp application,
FiCaSchedulerNode node,
RMContainer container,
org.apache.hadoop.yarn.api.records.ContainerStatus containerStatus,
RMContainerEventType event,
CSQueue childQueue)
A container assigned to the queue has completed.
|
void |
LeafQueue.completedContainer(org.apache.hadoop.yarn.api.records.Resource clusterResource,
FiCaSchedulerApp application,
FiCaSchedulerNode node,
RMContainer rmContainer,
org.apache.hadoop.yarn.api.records.ContainerStatus containerStatus,
RMContainerEventType event,
CSQueue childQueue) |
void |
ParentQueue.completedContainer(org.apache.hadoop.yarn.api.records.Resource clusterResource,
FiCaSchedulerApp application,
FiCaSchedulerNode node,
RMContainer rmContainer,
org.apache.hadoop.yarn.api.records.ContainerStatus containerStatus,
RMContainerEventType event,
CSQueue completedChildQueue) |
void |
CapacityScheduler.dropContainerReservation(RMContainer container) |
void |
CapacityScheduler.killContainer(RMContainer cont) |
void |
CapacityScheduler.preemptContainer(org.apache.hadoop.yarn.api.records.ApplicationAttemptId aid,
RMContainer cont) |
| Constructor and Description |
|---|
CSAssignment(FiCaSchedulerApp application,
RMContainer excessReservation) |
| Modifier and Type | Method and Description |
|---|---|
RMContainer |
FiCaSchedulerApp.allocate(NodeType type,
FiCaSchedulerNode node,
org.apache.hadoop.yarn.api.records.Priority priority,
org.apache.hadoop.yarn.api.records.ResourceRequest request,
org.apache.hadoop.yarn.api.records.Container container) |
RMContainer |
FiCaSchedulerNode.getReservedContainer() |
| Modifier and Type | Method and Description |
|---|---|
List<RMContainer> |
FiCaSchedulerNode.getRunningContainers() |
| Modifier and Type | Method and Description |
|---|---|
void |
FiCaSchedulerNode.allocateContainer(org.apache.hadoop.yarn.api.records.ApplicationId applicationId,
RMContainer rmContainer)
The Scheduler has allocated containers on this node to the
given application.
|
boolean |
FiCaSchedulerApp.containerCompleted(RMContainer rmContainer,
org.apache.hadoop.yarn.api.records.ContainerStatus containerStatus,
RMContainerEventType event) |
void |
FiCaSchedulerNode.reserveResource(SchedulerApplicationAttempt application,
org.apache.hadoop.yarn.api.records.Priority priority,
RMContainer reservedContainer) |
| Modifier and Type | Method and Description |
|---|---|
RMContainer |
FSSchedulerApp.allocate(NodeType type,
FSSchedulerNode node,
org.apache.hadoop.yarn.api.records.Priority priority,
org.apache.hadoop.yarn.api.records.ResourceRequest request,
org.apache.hadoop.yarn.api.records.Container container) |
RMContainer |
FSSchedulerNode.getReservedContainer() |
RMContainer |
FairScheduler.getRMContainer(org.apache.hadoop.yarn.api.records.ContainerId containerId) |
| Modifier and Type | Method and Description |
|---|---|
Set<RMContainer> |
FSSchedulerApp.getPreemptionContainers() |
List<RMContainer> |
FSSchedulerNode.getRunningContainers() |
| Modifier and Type | Method and Description |
|---|---|
void |
FSSchedulerApp.addPreemption(RMContainer container,
long time) |
void |
FSSchedulerNode.allocateContainer(org.apache.hadoop.yarn.api.records.ApplicationId applicationId,
RMContainer rmContainer)
The Scheduler has allocated containers on this node to the
given application.
|
void |
FSSchedulerApp.containerCompleted(RMContainer rmContainer,
org.apache.hadoop.yarn.api.records.ContainerStatus containerStatus,
RMContainerEventType event) |
Long |
FSSchedulerApp.getContainerPreemptionTime(RMContainer container) |
void |
FSSchedulerNode.reserveResource(FSSchedulerApp application,
org.apache.hadoop.yarn.api.records.Priority priority,
RMContainer reservedContainer) |
| Modifier and Type | Method and Description |
|---|---|
RMContainer |
FifoScheduler.getRMContainer(org.apache.hadoop.yarn.api.records.ContainerId containerId) |
Copyright © 2014 Apache Software Foundation. All Rights Reserved.