public interface StageEarliestStart
| Modifier and Type | Method and Description |
|---|---|
long |
setEarliestStartTime(Plan plan,
org.apache.hadoop.yarn.api.records.ReservationDefinition reservation,
int index,
org.apache.hadoop.yarn.api.records.ReservationRequest currentReservationStage,
long stageDeadline)
Computes the earliest allowed starting time for a given stage.
|
long setEarliestStartTime(Plan plan, org.apache.hadoop.yarn.api.records.ReservationDefinition reservation, int index, org.apache.hadoop.yarn.api.records.ReservationRequest currentReservationStage, long stageDeadline)
plan - the Plan to which the reservation must be fittedreservation - the job contractindex - the index of the stage in the job contractcurrentReservationStage - the stagestageDeadline - the deadline of the stage set by the two phase
planning algorithmCopyright © 2017 Apache Software Foundation. All Rights Reserved.