Package | Description |
---|---|
org.apache.hadoop.yarn.server.resourcemanager.reservation | |
org.apache.hadoop.yarn.server.resourcemanager.reservation.planning |
Modifier and Type | Method and Description |
---|---|
protected ReservationAgent |
AbstractReservationSystem.getAgent(String queueName) |
ReservationAgent |
PlanContext.getReservationAgent()
Return the
ReservationAgent configured for this plan that is
responsible for optimally placing various reservation requests |
ReservationAgent |
InMemoryPlan.getReservationAgent() |
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 |
AlignedPlannerWithGreedy
A planning algorithm that first runs LowCostAligned, and if it fails runs
Greedy.
|
class |
GreedyReservationAgent
This Agent employs a simple greedy placement strategy, placing the various
stages of a
ReservationDefinition from the deadline moving backward
towards the arrival. |
class |
IterativePlanner
A planning algorithm consisting of two main phases.
|
class |
PlanningAlgorithm
An abstract class that follows the general behavior of planning algorithms.
|
class |
TryManyReservationAgents
A planning algorithm that invokes several other planning algorithms according
to a given order.
|
Constructor and Description |
---|
TryManyReservationAgents(List<ReservationAgent> algs) |
Copyright © 2017 Apache Software Foundation. All Rights Reserved.