| Modifier and Type | Method | Description |
|---|---|---|
void |
RMApplicationHistoryWriter.containerFinished(RMContainer container) |
|
void |
RMApplicationHistoryWriter.containerStarted(RMContainer container) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
CombinedSystemMetricsPublisher.containerCreated(RMContainer container,
long createdTime) |
|
void |
NoOpSystemMetricPublisher.containerCreated(RMContainer container,
long createdTime) |
|
void |
SystemMetricsPublisher.containerCreated(RMContainer container,
long createdTime) |
|
void |
TimelineServiceV1Publisher.containerCreated(RMContainer container,
long createdTime) |
|
void |
TimelineServiceV2Publisher.containerCreated(RMContainer container,
long createdTime) |
|
void |
CombinedSystemMetricsPublisher.containerFinished(RMContainer container,
long finishedTime) |
|
void |
NoOpSystemMetricPublisher.containerFinished(RMContainer container,
long finishedTime) |
|
void |
SystemMetricsPublisher.containerFinished(RMContainer container,
long finishedTime) |
|
void |
TimelineServiceV1Publisher.containerFinished(RMContainer container,
long finishedTime) |
|
void |
TimelineServiceV2Publisher.containerFinished(RMContainer container,
long finishedTime) |
| Modifier and Type | Method | Description |
|---|---|---|
RMContainer |
TempSchedulerNode.getReservedContainer() |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<RMContainer> |
TempSchedulerNode.getRunningContainers() |
|
java.util.Map<RMContainer,java.lang.Long> |
ProportionalCapacityPreemptionPolicy.getToPreemptContainers() |
|
java.util.Map<org.apache.hadoop.yarn.api.records.ApplicationAttemptId,java.util.Set<RMContainer>> |
FifoCandidatesSelector.selectCandidates(java.util.Map<org.apache.hadoop.yarn.api.records.ApplicationAttemptId,java.util.Set<RMContainer>> selectedCandidates,
org.apache.hadoop.yarn.api.records.Resource clusterResource,
org.apache.hadoop.yarn.api.records.Resource totalPreemptionAllowed) |
|
java.util.Map<org.apache.hadoop.yarn.api.records.ApplicationAttemptId,java.util.Set<RMContainer>> |
IntraQueueCandidatesSelector.selectCandidates(java.util.Map<org.apache.hadoop.yarn.api.records.ApplicationAttemptId,java.util.Set<RMContainer>> selectedCandidates,
org.apache.hadoop.yarn.api.records.Resource clusterResource,
org.apache.hadoop.yarn.api.records.Resource totalPreemptedResourceAllowed) |
|
abstract java.util.Map<org.apache.hadoop.yarn.api.records.ApplicationAttemptId,java.util.Set<RMContainer>> |
PreemptionCandidatesSelector.selectCandidates(java.util.Map<org.apache.hadoop.yarn.api.records.ApplicationAttemptId,java.util.Set<RMContainer>> selectedCandidates,
org.apache.hadoop.yarn.api.records.Resource clusterResource,
org.apache.hadoop.yarn.api.records.Resource totalPreemptedResourceAllowed) |
Get preemption candidates from computed resource sharing and already
selected candidates.
|
java.util.Map<org.apache.hadoop.yarn.api.records.ApplicationAttemptId,java.util.Set<RMContainer>> |
QueuePriorityContainerCandidateSelector.selectCandidates(java.util.Map<org.apache.hadoop.yarn.api.records.ApplicationAttemptId,java.util.Set<RMContainer>> selectedCandidates,
org.apache.hadoop.yarn.api.records.Resource clusterResource,
org.apache.hadoop.yarn.api.records.Resource totalPreemptedResourceAllowed) |
|
java.util.Map<org.apache.hadoop.yarn.api.records.ApplicationAttemptId,java.util.Set<RMContainer>> |
ReservedContainerCandidatesSelector.selectCandidates(java.util.Map<org.apache.hadoop.yarn.api.records.ApplicationAttemptId,java.util.Set<RMContainer>> selectedCandidates,
org.apache.hadoop.yarn.api.records.Resource clusterResource,
org.apache.hadoop.yarn.api.records.Resource totalPreemptedResourceAllowed) |
| Modifier and Type | Method | Description |
|---|---|---|
protected static void |
CapacitySchedulerPreemptionUtils.addToPreemptMap(java.util.Map<org.apache.hadoop.yarn.api.records.ApplicationAttemptId,java.util.Set<RMContainer>> preemptMap,
java.util.Map<org.apache.hadoop.yarn.api.records.ApplicationAttemptId,java.util.Set<RMContainer>> curCandidates,
org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId,
RMContainer containerToPreempt) |
|
static boolean |
CapacitySchedulerPreemptionUtils.isContainerAlreadySelected(RMContainer container,
java.util.Map<org.apache.hadoop.yarn.api.records.ApplicationAttemptId,java.util.Set<RMContainer>> selectedCandidates) |
|
void |
TempSchedulerNode.setReservedContainer(RMContainer reservedContainer) |
|
boolean |
FifoIntraQueuePreemptionPlugin.skipContainerBasedOnIntraQueuePolicy(FiCaSchedulerApp app,
org.apache.hadoop.yarn.api.records.Resource clusterResource,
org.apache.hadoop.yarn.api.records.Resource usedResource,
RMContainer c) |
|
static boolean |
CapacitySchedulerPreemptionUtils.tryPreemptContainerAndDeductResToObtain(org.apache.hadoop.yarn.util.resource.ResourceCalculator rc,
CapacitySchedulerPreemptionContext context,
java.util.Map<java.lang.String,org.apache.hadoop.yarn.api.records.Resource> resourceToObtainByPartitions,
RMContainer rmContainer,
org.apache.hadoop.yarn.api.records.Resource clusterResource,
java.util.Map<org.apache.hadoop.yarn.api.records.ApplicationAttemptId,java.util.Set<RMContainer>> preemptMap,
java.util.Map<org.apache.hadoop.yarn.api.records.ApplicationAttemptId,java.util.Set<RMContainer>> curCandidates,
org.apache.hadoop.yarn.api.records.Resource totalPreemptionAllowed,
boolean conservativeDRF) |
Invoke this method to preempt container based on resToObtain.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected static void |
CapacitySchedulerPreemptionUtils.addToPreemptMap(java.util.Map<org.apache.hadoop.yarn.api.records.ApplicationAttemptId,java.util.Set<RMContainer>> preemptMap,
java.util.Map<org.apache.hadoop.yarn.api.records.ApplicationAttemptId,java.util.Set<RMContainer>> curCandidates,
org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId,
RMContainer containerToPreempt) |
|
void |
FifoIntraQueuePreemptionPlugin.computeAppsIdealAllocation(org.apache.hadoop.yarn.api.records.Resource clusterResource,
TempQueuePerPartition tq,
java.util.Map<org.apache.hadoop.yarn.api.records.ApplicationAttemptId,java.util.Set<RMContainer>> selectedCandidates,
org.apache.hadoop.yarn.api.records.Resource totalPreemptedResourceAllowed,
org.apache.hadoop.yarn.api.records.Resource queueReassignableResource,
float maxAllowablePreemptLimit) |
|
static void |
CapacitySchedulerPreemptionUtils.deductPreemptableResourcesBasedSelectedCandidates(CapacitySchedulerPreemptionContext context,
java.util.Map<org.apache.hadoop.yarn.api.records.ApplicationAttemptId,java.util.Set<RMContainer>> selectedCandidates) |
|
static boolean |
CapacitySchedulerPreemptionUtils.isContainerAlreadySelected(RMContainer container,
java.util.Map<org.apache.hadoop.yarn.api.records.ApplicationAttemptId,java.util.Set<RMContainer>> selectedCandidates) |
|
java.util.Map<org.apache.hadoop.yarn.api.records.ApplicationAttemptId,java.util.Set<RMContainer>> |
FifoCandidatesSelector.selectCandidates(java.util.Map<org.apache.hadoop.yarn.api.records.ApplicationAttemptId,java.util.Set<RMContainer>> selectedCandidates,
org.apache.hadoop.yarn.api.records.Resource clusterResource,
org.apache.hadoop.yarn.api.records.Resource totalPreemptionAllowed) |
|
java.util.Map<org.apache.hadoop.yarn.api.records.ApplicationAttemptId,java.util.Set<RMContainer>> |
IntraQueueCandidatesSelector.selectCandidates(java.util.Map<org.apache.hadoop.yarn.api.records.ApplicationAttemptId,java.util.Set<RMContainer>> selectedCandidates,
org.apache.hadoop.yarn.api.records.Resource clusterResource,
org.apache.hadoop.yarn.api.records.Resource totalPreemptedResourceAllowed) |
|
abstract java.util.Map<org.apache.hadoop.yarn.api.records.ApplicationAttemptId,java.util.Set<RMContainer>> |
PreemptionCandidatesSelector.selectCandidates(java.util.Map<org.apache.hadoop.yarn.api.records.ApplicationAttemptId,java.util.Set<RMContainer>> selectedCandidates,
org.apache.hadoop.yarn.api.records.Resource clusterResource,
org.apache.hadoop.yarn.api.records.Resource totalPreemptedResourceAllowed) |
Get preemption candidates from computed resource sharing and already
selected candidates.
|
java.util.Map<org.apache.hadoop.yarn.api.records.ApplicationAttemptId,java.util.Set<RMContainer>> |
QueuePriorityContainerCandidateSelector.selectCandidates(java.util.Map<org.apache.hadoop.yarn.api.records.ApplicationAttemptId,java.util.Set<RMContainer>> selectedCandidates,
org.apache.hadoop.yarn.api.records.Resource clusterResource,
org.apache.hadoop.yarn.api.records.Resource totalPreemptedResourceAllowed) |
|
java.util.Map<org.apache.hadoop.yarn.api.records.ApplicationAttemptId,java.util.Set<RMContainer>> |
ReservedContainerCandidatesSelector.selectCandidates(java.util.Map<org.apache.hadoop.yarn.api.records.ApplicationAttemptId,java.util.Set<RMContainer>> selectedCandidates,
org.apache.hadoop.yarn.api.records.Resource clusterResource,
org.apache.hadoop.yarn.api.records.Resource totalPreemptedResourceAllowed) |
|
void |
TempSchedulerNode.setRunningContainers(java.util.List<RMContainer> runningContainers) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
RMAppAttemptMetrics.updatePreemptionInfo(org.apache.hadoop.yarn.api.records.Resource resource,
RMContainer container) |
| Modifier and Type | Class | Description |
|---|---|---|
class |
RMContainerImpl |
| Modifier and Type | Method | Description |
|---|---|---|
int |
RMContainerImpl.compareTo(RMContainer o) |
| Modifier and Type | Field | Description |
|---|---|---|
protected java.util.Map<org.apache.hadoop.yarn.api.records.ContainerId,RMContainer> |
SchedulerApplicationAttempt.liveContainers |
|
protected java.util.List<RMContainer> |
SchedulerApplicationAttempt.newlyAllocatedContainers |
|
protected java.util.Map<org.apache.hadoop.yarn.api.records.ContainerId,RMContainer> |
SchedulerApplicationAttempt.newlyDecreasedContainers |
|
protected java.util.Map<org.apache.hadoop.yarn.api.records.ContainerId,RMContainer> |
SchedulerApplicationAttempt.newlyDemotedContainers |
|
protected java.util.Map<org.apache.hadoop.yarn.api.records.ContainerId,RMContainer> |
SchedulerApplicationAttempt.newlyIncreasedContainers |
|
protected java.util.Map<org.apache.hadoop.yarn.api.records.ContainerId,RMContainer> |
SchedulerApplicationAttempt.newlyPromotedContainers |
|
protected java.util.Map<org.apache.hadoop.yarn.server.scheduler.SchedulerRequestKey,java.util.Map<org.apache.hadoop.yarn.api.records.NodeId,RMContainer>> |
SchedulerApplicationAttempt.reservedContainers |
|
protected java.util.List<RMContainer> |
SchedulerApplicationAttempt.tempContainerToKill |
| Modifier and Type | Method | Description |
|---|---|---|
static RMContainer |
SchedulerUtils.createOpportunisticRmContainer(RMContext rmContext,
org.apache.hadoop.yarn.api.records.Container container,
boolean isRemotelyAllocated) |
|
protected RMContainer |
SchedulerNode.getContainer(org.apache.hadoop.yarn.api.records.ContainerId containerId) |
Get the container for the specified container ID.
|
RMContainer |
SchedulerNode.getReservedContainer() |
Get the reserved container in the node.
|
RMContainer |
AbstractYarnScheduler.getRMContainer(org.apache.hadoop.yarn.api.records.ContainerId containerId) |
|
RMContainer |
SchedContainerChangeRequest.getRMContainer() |
|
RMContainer |
SchedulerApplicationAttempt.getRMContainer(org.apache.hadoop.yarn.api.records.ContainerId id) |
|
RMContainer |
YarnScheduler.getRMContainer(org.apache.hadoop.yarn.api.records.ContainerId containerId) |
Get the container for the given containerId.
|
RMContainer |
SchedulerApplicationAttempt.reserve(SchedulerNode node,
org.apache.hadoop.yarn.server.scheduler.SchedulerRequestKey schedulerKey,
RMContainer rmContainer,
org.apache.hadoop.yarn.api.records.Container container) |
|
RMContainer |
ContainerUpdateContext.swapContainer(RMContainer tempRMContainer,
RMContainer existingRMContainer,
org.apache.hadoop.yarn.api.records.ContainerUpdateType updateType) |
Swaps the existing RMContainer's and the temp RMContainers internal
container references after adjusting the resources in each.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<RMContainer> |
SchedulerNode.getContainersToKill() |
Get the containers running on the node ordered by which to kill first.
|
java.util.List<RMContainer> |
SchedulerNode.getCopiedListOfRunningContainers() |
Get the containers running on the node.
|
protected java.util.List<RMContainer> |
SchedulerNode.getLaunchedContainers() |
Get the launched containers in the node.
|
java.util.Collection<RMContainer> |
SchedulerApplicationAttempt.getLiveContainers() |
Get the live containers of the application.
|
java.util.Collection<RMContainer> |
SchedulerAppReport.getLiveContainers() |
Get the list of live containers
|
java.util.Map<org.apache.hadoop.yarn.api.records.ContainerId,RMContainer> |
SchedulerApplicationAttempt.getLiveContainersMap() |
|
java.util.List<RMContainer> |
SchedulerApplicationAttempt.getReservedContainers() |
Get the list of reserved containers
|
java.util.Collection<RMContainer> |
SchedulerAppReport.getReservedContainers() |
Get the list of reserved containers
|
java.util.List<RMContainer> |
SchedulerNode.getRunningContainersWithAMsAtTheEnd() |
Get the containers running on the node with AM containers at the end.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
SchedulerApplicationAttempt.addRMContainer(org.apache.hadoop.yarn.api.records.ContainerId id,
RMContainer rmContainer) |
|
protected void |
SchedulerApplicationAttempt.addToNewlyAllocatedContainers(SchedulerNode node,
RMContainer rmContainer) |
|
void |
SchedulerApplicationAttempt.addToNewlyDecreasedContainers(org.apache.hadoop.yarn.api.records.ContainerId containerId,
RMContainer rmContainer) |
|
void |
SchedulerApplicationAttempt.addToNewlyDemotedContainers(org.apache.hadoop.yarn.api.records.ContainerId containerId,
RMContainer rmContainer) |
|
ContainerRequest |
AppSchedulingInfo.allocate(NodeType type,
SchedulerNode node,
org.apache.hadoop.yarn.server.scheduler.SchedulerRequestKey schedulerKey,
RMContainer containerAllocated) |
|
void |
SchedulerNode.allocateContainer(RMContainer rmContainer) |
The Scheduler has allocated containers on this node to the given
application.
|
protected void |
SchedulerNode.allocateContainer(RMContainer rmContainer,
boolean launchedOnNode) |
The Scheduler has allocated containers on this node to the given
application.
|
void |
AbstractYarnScheduler.asyncContainerRelease(RMContainer container) |
To be used to release a container via a Scheduler Event rather than
in the same thread.
|
boolean |
ContainerUpdateContext.checkAndAddToOutstandingIncreases(RMContainer rmContainer,
SchedulerNode schedulerNode,
org.apache.hadoop.yarn.api.records.UpdateContainerRequest updateRequest) |
Add the container to outstanding increases.
|
void |
AbstractYarnScheduler.completedContainer(RMContainer rmContainer,
org.apache.hadoop.yarn.api.records.ContainerStatus containerStatus,
RMContainerEventType event) |
|
protected abstract void |
AbstractYarnScheduler.completedContainerInternal(RMContainer rmContainer,
org.apache.hadoop.yarn.api.records.ContainerStatus containerStatus,
RMContainerEventType event) |
|
abstract void |
AbstractYarnScheduler.killContainer(RMContainer container) |
Kill a RMContainer.
|
void |
PreemptableResourceScheduler.killReservedContainer(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.markContainerForKillable(RMContainer container) |
Ask the scheduler to forcibly interrupt the container given as input.
|
void |
PreemptableResourceScheduler.markContainerForPreemption(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
|
org.apache.hadoop.yarn.api.records.ContainerId |
ContainerUpdateContext.matchContainerToOutstandingIncreaseReq(SchedulerNode node,
org.apache.hadoop.yarn.server.scheduler.SchedulerRequestKey schedulerKey,
RMContainer rmContainer) |
Check if a new container is to be matched up against an outstanding
Container increase request.
|
void |
AppSchedulingInfo.recoverContainer(RMContainer rmContainer,
java.lang.String partition) |
|
void |
Queue.recoverContainer(org.apache.hadoop.yarn.api.records.Resource clusterResource,
SchedulerApplicationAttempt schedulerAttempt,
RMContainer rmContainer) |
Recover the state of the queue for a given container.
|
boolean |
SchedulerApplicationAttempt.recoverContainer(SchedulerNode node,
RMContainer rmContainer) |
|
void |
SchedulerNode.recoverContainer(RMContainer rmContainer) |
Recover a container.
|
RMContainer |
SchedulerApplicationAttempt.reserve(SchedulerNode node,
org.apache.hadoop.yarn.server.scheduler.SchedulerRequestKey schedulerKey,
RMContainer rmContainer,
org.apache.hadoop.yarn.api.records.Container container) |
|
boolean |
SchedulerApplicationAttempt.reserveIncreasedContainer(SchedulerNode node,
org.apache.hadoop.yarn.server.scheduler.SchedulerRequestKey schedulerKey,
RMContainer rmContainer,
org.apache.hadoop.yarn.api.records.Resource reservedResource) |
|
abstract void |
SchedulerNode.reserveResource(SchedulerApplicationAttempt attempt,
org.apache.hadoop.yarn.server.scheduler.SchedulerRequestKey schedulerKey,
RMContainer container) |
Reserve container for the attempt on this node.
|
void |
SchedulerNode.setReservedContainer(RMContainer reservedContainer) |
Set the reserved container in the node.
|
RMContainer |
ContainerUpdateContext.swapContainer(RMContainer tempRMContainer,
RMContainer existingRMContainer,
org.apache.hadoop.yarn.api.records.ContainerUpdateType updateType) |
Swaps the existing RMContainer's and the temp RMContainers internal
container references after adjusting the resources in each.
|
static void |
AppSchedulingInfo.updateMetrics(org.apache.hadoop.yarn.api.records.ApplicationId applicationId,
NodeType type,
SchedulerNode node,
RMContainer containerAllocated,
java.lang.String user,
Queue queue) |
| Constructor | Description |
|---|---|
SchedContainerChangeRequest(RMContext rmContext,
SchedulerNode schedulerNode,
RMContainer rmContainer,
org.apache.hadoop.yarn.api.records.Resource targetCapacity) |
| Modifier and Type | Method | Description |
|---|---|---|
static void |
ActivitiesLogger.APP.recordAppActivityWithAllocation(ActivitiesManager activitiesManager,
SchedulerNode node,
SchedulerApplicationAttempt application,
RMContainer updatedContainer,
ActivityState activityState) |
| Modifier and Type | Method | Description |
|---|---|---|
RMContainer |
CSAssignment.getExcessReservation() |
|
RMContainer |
CSAssignment.getFulfilledReservedContainer() |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<RMContainer> |
CSAssignment.getContainersToKill() |
|
java.util.Map<java.lang.String,java.util.TreeSet<RMContainer>> |
AbstractLeafQueue.getIgnoreExclusivityRMContainers() |
|
java.util.Iterator<RMContainer> |
AbstractCSQueue.getKillableContainers(java.lang.String partition) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
AbstractLeafQueue.attachContainer(org.apache.hadoop.yarn.api.records.Resource clusterResource,
FiCaSchedulerApp application,
RMContainer rmContainer) |
|
void |
AbstractParentQueue.attachContainer(org.apache.hadoop.yarn.api.records.Resource clusterResource,
FiCaSchedulerApp application,
RMContainer rmContainer) |
|
void |
CSQueue.attachContainer(org.apache.hadoop.yarn.api.records.Resource clusterResource,
FiCaSchedulerApp application,
RMContainer container) |
Attach a container to this queue
|
void |
AbstractLeafQueue.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,
boolean sortQueues) |
|
void |
AbstractParentQueue.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,
boolean sortQueues) |
|
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,
boolean sortQueues) |
A container assigned to the queue has completed.
|
protected void |
CapacityScheduler.completedContainerInternal(RMContainer rmContainer,
org.apache.hadoop.yarn.api.records.ContainerStatus containerStatus,
RMContainerEventType event) |
|
void |
AbstractLeafQueue.detachContainer(org.apache.hadoop.yarn.api.records.Resource clusterResource,
FiCaSchedulerApp application,
RMContainer rmContainer) |
|
void |
AbstractParentQueue.detachContainer(org.apache.hadoop.yarn.api.records.Resource clusterResource,
FiCaSchedulerApp application,
RMContainer rmContainer) |
|
void |
CSQueue.detachContainer(org.apache.hadoop.yarn.api.records.Resource clusterResource,
FiCaSchedulerApp application,
RMContainer container) |
Detach a container from this queue
|
void |
CapacityScheduler.killContainer(RMContainer container) |
|
void |
CapacityScheduler.killReservedContainer(RMContainer container) |
|
void |
CapacityScheduler.markContainerForKillable(RMContainer killableContainer) |
|
void |
CapacityScheduler.markContainerForPreemption(org.apache.hadoop.yarn.api.records.ApplicationAttemptId aid,
RMContainer cont) |
|
boolean |
CapacityScheduler.moveReservedContainer(RMContainer toBeMovedContainer,
FiCaSchedulerNode targetNode) |
Try to move a reserved container to a targetNode.
|
void |
AbstractLeafQueue.recoverContainer(org.apache.hadoop.yarn.api.records.Resource clusterResource,
SchedulerApplicationAttempt attempt,
RMContainer rmContainer) |
|
void |
AbstractParentQueue.recoverContainer(org.apache.hadoop.yarn.api.records.Resource clusterResource,
SchedulerApplicationAttempt attempt,
RMContainer rmContainer) |
|
void |
CSAssignment.setExcessReservation(RMContainer rmContainer) |
|
void |
CSAssignment.setFulfilledReservedContainer(RMContainer fulfilledReservedContainer) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
CSAssignment.setContainersToKill(java.util.List<RMContainer> containersToKill) |
| Constructor | Description |
|---|---|
CSAssignment(org.apache.hadoop.yarn.api.records.Resource resource,
NodeType type,
RMContainer excessReservation,
FiCaSchedulerApp application,
CSAssignment.SkippedType skipped,
boolean fulfilledReservation) |
|
CSAssignment(FiCaSchedulerApp application,
RMContainer excessReservation) |
| Modifier and Type | Method | Description |
|---|---|---|
RMContainer |
ContainerAllocation.getContainerToBeUnreserved() |
|
RMContainer |
ContainerAllocation.getUpdatedContainer() |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<RMContainer> |
ContainerAllocation.getToKillContainers() |
| Modifier and Type | Method | Description |
|---|---|---|
abstract CSAssignment |
AbstractContainerAllocator.assignContainers(org.apache.hadoop.yarn.api.records.Resource clusterResource,
CandidateNodeSet<FiCaSchedulerNode> candidates,
SchedulingMode schedulingMode,
ResourceLimits resourceLimits,
RMContainer reservedContainer) |
allocate needs to handle following stuffs:
Select request: Select a request to allocate.
|
CSAssignment |
ContainerAllocator.assignContainers(org.apache.hadoop.yarn.api.records.Resource clusterResource,
CandidateNodeSet<FiCaSchedulerNode> candidates,
SchedulingMode schedulingMode,
ResourceLimits resourceLimits,
RMContainer reservedContainer) |
|
CSAssignment |
RegularContainerAllocator.assignContainers(org.apache.hadoop.yarn.api.records.Resource clusterResource,
CandidateNodeSet<FiCaSchedulerNode> candidates,
SchedulingMode schedulingMode,
ResourceLimits resourceLimits,
RMContainer reservedContainer) |
|
protected CSAssignment |
AbstractContainerAllocator.getCSAssignmentFromAllocateResult(org.apache.hadoop.yarn.api.records.Resource clusterResource,
ContainerAllocation result,
RMContainer rmContainer,
FiCaSchedulerNode node) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
ContainerAllocation.setToKillContainers(java.util.List<RMContainer> toKillContainers) |
| Constructor | Description |
|---|---|
ContainerAllocation(RMContainer containerToBeUnreserved,
org.apache.hadoop.yarn.api.records.Resource resourceToBeAllocated,
AllocationState state) |
| Modifier and Type | Method | Description |
|---|---|---|
RMContainer |
KillableContainer.getRMContainer() |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Map<java.lang.String,java.util.Map<org.apache.hadoop.yarn.api.records.ContainerId,RMContainer>> |
PreemptableQueue.getKillableContainers() |
|
java.util.Iterator<RMContainer> |
PreemptionManager.getKillableContainers(java.lang.String queueName,
java.lang.String partition) |
|
java.util.Map<org.apache.hadoop.yarn.api.records.ContainerId,RMContainer> |
PreemptionManager.getKillableContainersMap(java.lang.String queueName,
java.lang.String partition) |
| Constructor | Description |
|---|---|
KillableContainer(RMContainer container,
java.lang.String partition,
java.lang.String leafQueueName) |
| Modifier and Type | Field | Description |
|---|---|---|
RMContainer |
AssignmentInformation.AssignmentDetails.rmContainer |
| Modifier and Type | Method | Description |
|---|---|---|
RMContainer |
AssignmentInformation.getFirstAllocatedOrReservedRMContainer() |
|
RMContainer |
SchedulerContainer.getRmContainer() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
AssignmentInformation.addAllocationDetails(RMContainer rmContainer,
java.lang.String queue) |
|
void |
AssignmentInformation.addReservationDetails(RMContainer rmContainer,
java.lang.String queue) |
| Constructor | Description |
|---|---|
AssignmentDetails(RMContainer rmContainer,
java.lang.String queue) |
|
SchedulerContainer(A app,
N node,
RMContainer rmContainer,
java.lang.String nodePartition,
boolean allocated) |
| Modifier and Type | Method | Description |
|---|---|---|
RMContainer |
FiCaSchedulerApp.allocate(FiCaSchedulerNode node,
org.apache.hadoop.yarn.server.scheduler.SchedulerRequestKey schedulerKey,
org.apache.hadoop.yarn.api.records.Container container) |
|
RMContainer |
FiCaSchedulerApp.findNodeToUnreserve(FiCaSchedulerNode node,
org.apache.hadoop.yarn.server.scheduler.SchedulerRequestKey schedulerKey,
org.apache.hadoop.yarn.api.records.Resource minimumUnreservedResource) |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Map<org.apache.hadoop.yarn.api.records.ContainerId,RMContainer> |
FiCaSchedulerNode.getKillableContainers() |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
FiCaSchedulerNode.allocateContainer(RMContainer rmContainer,
boolean launchedOnNode) |
|
CSAssignment |
FiCaSchedulerApp.assignContainers(org.apache.hadoop.yarn.api.records.Resource clusterResource,
CandidateNodeSet<FiCaSchedulerNode> ps,
ResourceLimits currentResourceLimits,
SchedulingMode schedulingMode,
RMContainer reservedContainer) |
|
boolean |
FiCaSchedulerApp.containerCompleted(RMContainer rmContainer,
org.apache.hadoop.yarn.api.records.ContainerStatus containerStatus,
RMContainerEventType event,
java.lang.String partition) |
|
boolean |
FiCaSchedulerApp.moveReservation(RMContainer reservedContainer,
FiCaSchedulerNode sourceNode,
FiCaSchedulerNode targetNode) |
Move reservation from one node to another
Comparing to unreserve container on source node and reserve a new
container on target node.
|
void |
FiCaSchedulerApp.nodePartitionUpdated(RMContainer rmContainer,
java.lang.String oldPartition,
java.lang.String newPartition) |
|
void |
FiCaSchedulerApp.reserve(org.apache.hadoop.yarn.server.scheduler.SchedulerRequestKey schedulerKey,
FiCaSchedulerNode node,
RMContainer rmContainer,
org.apache.hadoop.yarn.api.records.Container container,
boolean reReservation) |
|
void |
FiCaSchedulerNode.reserveResource(SchedulerApplicationAttempt application,
org.apache.hadoop.yarn.server.scheduler.SchedulerRequestKey priority,
RMContainer container) |
|
boolean |
FiCaSchedulerApp.unreserve(org.apache.hadoop.yarn.server.scheduler.SchedulerRequestKey schedulerKey,
FiCaSchedulerNode node,
RMContainer rmContainer) |
| Modifier and Type | Method | Description |
|---|---|---|
RMContainer |
ContainerPreemptEvent.getContainer() |
|
RMContainer |
ReleaseContainerEvent.getContainer() |
Get RMContainer.
|
| Constructor | Description |
|---|---|
ContainerPreemptEvent(org.apache.hadoop.yarn.api.records.ApplicationAttemptId aid,
RMContainer container,
SchedulerEventType type) |
|
ReleaseContainerEvent(RMContainer rmContainer) |
Create Event.
|
| Modifier and Type | Method | Description |
|---|---|---|
RMContainer |
FSAppAttempt.allocate(NodeType type,
FSSchedulerNode node,
org.apache.hadoop.yarn.server.scheduler.SchedulerRequestKey schedulerKey,
PendingAsk pendingAsk,
org.apache.hadoop.yarn.api.records.Container reservedContainer) |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
FSSchedulerNode.allocateContainer(RMContainer rmContainer,
boolean launchedOnNode) |
The Scheduler has allocated containers on this node to the given
application.
|
protected void |
FairScheduler.completedContainerInternal(RMContainer rmContainer,
org.apache.hadoop.yarn.api.records.ContainerStatus containerStatus,
RMContainerEventType event) |
Clean up a completed container.
|
void |
FairScheduler.killContainer(RMContainer container) |
|
boolean |
FSAppAttempt.recoverContainer(SchedulerNode node,
RMContainer rmContainer) |
|
void |
FSLeafQueue.recoverContainer(org.apache.hadoop.yarn.api.records.Resource clusterResource,
SchedulerApplicationAttempt schedulerAttempt,
RMContainer rmContainer) |
|
void |
FSParentQueue.recoverContainer(org.apache.hadoop.yarn.api.records.Resource clusterResource,
SchedulerApplicationAttempt schedulerAttempt,
RMContainer rmContainer) |
|
void |
FSSchedulerNode.reserveResource(SchedulerApplicationAttempt application,
org.apache.hadoop.yarn.server.scheduler.SchedulerRequestKey schedulerKey,
RMContainer container) |
| Modifier and Type | Method | Description |
|---|---|---|
RMContainer |
FifoAppAttempt.allocate(NodeType type,
FiCaSchedulerNode node,
org.apache.hadoop.yarn.server.scheduler.SchedulerRequestKey schedulerKey,
org.apache.hadoop.yarn.api.records.Container container) |
|
RMContainer |
FifoScheduler.getRMContainer(org.apache.hadoop.yarn.api.records.ContainerId containerId) |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
FifoScheduler.completedContainerInternal(RMContainer rmContainer,
org.apache.hadoop.yarn.api.records.ContainerStatus containerStatus,
RMContainerEventType event) |
|
void |
FifoScheduler.killContainer(RMContainer container) |
| Modifier and Type | Method | Description |
|---|---|---|
abstract void |
AbstractComparatorOrderingPolicy.containerAllocated(S schedulableEntity,
RMContainer r) |
|
void |
FairOrderingPolicy.containerAllocated(S schedulableEntity,
RMContainer r) |
|
void |
FifoOrderingPolicy.containerAllocated(S schedulableEntity,
RMContainer r) |
|
void |
FifoOrderingPolicyForPendingApps.containerAllocated(S schedulableEntity,
RMContainer r) |
|
void |
FifoOrderingPolicyWithExclusivePartitions.containerAllocated(S schedulableEntity,
RMContainer r) |
|
void |
OrderingPolicy.containerAllocated(S schedulableEntity,
RMContainer r) |
Notify the
OrderingPolicy that the SchedulableEntity
has been allocated the given RMContainer, enabling the
OrderingPolicy to take appropriate action. |
abstract void |
AbstractComparatorOrderingPolicy.containerReleased(S schedulableEntity,
RMContainer r) |
|
void |
FairOrderingPolicy.containerReleased(S schedulableEntity,
RMContainer r) |
|
void |
FifoOrderingPolicy.containerReleased(S schedulableEntity,
RMContainer r) |
|
void |
FifoOrderingPolicyForPendingApps.containerReleased(S schedulableEntity,
RMContainer r) |
|
void |
FifoOrderingPolicyWithExclusivePartitions.containerReleased(S schedulableEntity,
RMContainer r) |
|
void |
OrderingPolicy.containerReleased(S schedulableEntity,
RMContainer r) |
Notify the
OrderingPolicy that the SchedulableEntity
has released the given RMContainer, enabling the
OrderingPolicy to take appropriate action. |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.