| 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  ReservationAgentconfigured 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,
            long maxPeriodicity,
            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,
            long maxPeriodicty,
            RMContext rmContext,
            org.apache.hadoop.yarn.util.Clock clock) | 
| 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) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AlignedPlannerWithGreedyA planning algorithm that first runs LowCostAligned, and if it fails runs
 Greedy. | 
| class  | GreedyReservationAgentThis Agent employs a simple greedy placement strategy, placing the various
 stages of a  ReservationDefinitionfrom the deadline moving backward
 towards the arrival. | 
| class  | IterativePlannerA planning algorithm consisting of two main phases. | 
| class  | PlanningAlgorithmAn abstract class that follows the general behavior of planning algorithms. | 
| class  | TryManyReservationAgentsA planning algorithm that invokes several other planning algorithms according
 to a given order. | 
| Constructor and Description | 
|---|
| TryManyReservationAgents(List<ReservationAgent> algs) | 
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.