public class SimpleCapacityReplanner extends Object implements Planner
| Constructor and Description | 
|---|
| SimpleCapacityReplanner() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | init(String planQueueName,
    ReservationSchedulerConfiguration conf)Initialize the replanner | 
| void | plan(Plan plan,
    List<org.apache.hadoop.yarn.api.records.ReservationDefinition> contracts)Update the existing  Plan, by adding/removing/updating existing
 reservations, and adding a subset of the reservation requests in the
 contracts parameter. | 
public void init(String planQueueName, ReservationSchedulerConfiguration conf)
Plannerpublic void plan(Plan plan, List<org.apache.hadoop.yarn.api.records.ReservationDefinition> contracts) throws PlanningException
PlannerPlan, by adding/removing/updating existing
 reservations, and adding a subset of the reservation requests in the
 contracts parameter.plan in interface Plannerplan - the Plan to replancontracts - the list of reservation requestsPlanningException - if operation is unsuccessfulCopyright © 2008–2023 Apache Software Foundation. All rights reserved.