|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Planner
| Method Summary | |
|---|---|
void |
init(String planQueueName,
org.apache.hadoop.conf.Configuration 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. |
| Method Detail |
|---|
void plan(Plan plan,
List<org.apache.hadoop.yarn.api.records.ReservationDefinition> contracts)
throws PlanningException
Plan, by adding/removing/updating existing
reservations, and adding a subset of the reservation requests in the
contracts parameter.
plan - the Plan to replancontracts - the list of reservation requests
PlanningException
void init(String planQueueName,
org.apache.hadoop.conf.Configuration conf)
planQueueName - the name of the queue for this planconf - the scheduler configuration
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||