public class StageEarliestStartByJobArrival extends Object implements StageEarliestStart
Constructor and Description |
---|
StageEarliestStartByJobArrival() |
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 current,
long stageDeadline)
Computes the earliest allowed starting time for a given stage.
|
public long setEarliestStartTime(Plan plan, org.apache.hadoop.yarn.api.records.ReservationDefinition reservation, int index, org.apache.hadoop.yarn.api.records.ReservationRequest current, long stageDeadline)
StageEarliestStart
setEarliestStartTime
in interface StageEarliestStart
plan
- the Plan to which the reservation must be fittedreservation
- the job contractindex
- the index of the stage in the job contractcurrent
- the stagestageDeadline
- the deadline of the stage set by the two phase
planning algorithmCopyright © 2017 Apache Software Foundation. All Rights Reserved.