Package | Description |
---|---|
org.apache.hadoop.yarn.server.resourcemanager.reservation | |
org.apache.hadoop.yarn.server.resourcemanager.reservation.planning |
Modifier and Type | Method and Description |
---|---|
Planner |
PlanContext.getReplanner()
Return an instance of a
Planner , which will be invoked in response
to unexpected reduction in the resources of this plan |
Planner |
InMemoryPlan.getReplanner() |
protected Planner |
AbstractReservationSystem.getReplanner(String planQueueName) |
Constructor and Description |
---|
InMemoryPlan(QueueMetrics queueMetrics,
SharingPolicy policy,
ReservationAgent agent,
org.apache.hadoop.yarn.api.records.Resource totalCapacity,
long step,
org.apache.hadoop.yarn.util.resource.ResourceCalculator resCalc,
org.apache.hadoop.yarn.api.records.Resource minAlloc,
org.apache.hadoop.yarn.api.records.Resource maxAlloc,
String queueName,
Planner replanner,
boolean getMoveOnExpiry,
RMContext rmContext) |
InMemoryPlan(QueueMetrics queueMetrics,
SharingPolicy policy,
ReservationAgent agent,
org.apache.hadoop.yarn.api.records.Resource totalCapacity,
long step,
org.apache.hadoop.yarn.util.resource.ResourceCalculator resCalc,
org.apache.hadoop.yarn.api.records.Resource minAlloc,
org.apache.hadoop.yarn.api.records.Resource maxAlloc,
String queueName,
Planner replanner,
boolean getMoveOnExpiry,
RMContext rmContext,
org.apache.hadoop.yarn.util.Clock clock) |
Modifier and Type | Class and Description |
---|---|
class |
SimpleCapacityReplanner
This (re)planner scan a period of time from now to a maximum time window (or
the end of the last session, whichever comes first) checking the overall
capacity is not violated.
|
Copyright © 2017 Apache Software Foundation. All Rights Reserved.