public interface StageExecutionInterval
IterativePlanner
.Modifier and Type | Method and Description |
---|---|
ReservationInterval |
computeExecutionInterval(Plan plan,
org.apache.hadoop.yarn.api.records.ReservationDefinition reservation,
org.apache.hadoop.yarn.api.records.ReservationRequest currentReservationStage,
boolean allocateLeft,
RLESparseResourceAllocation allocations)
Computes the earliest allowed starting time for a given stage.
|
ReservationInterval computeExecutionInterval(Plan plan, org.apache.hadoop.yarn.api.records.ReservationDefinition reservation, org.apache.hadoop.yarn.api.records.ReservationRequest currentReservationStage, boolean allocateLeft, RLESparseResourceAllocation allocations)
plan
- the Plan to which the reservation must be fittedreservation
- the job contractcurrentReservationStage
- the stageallocateLeft
- is the job allocated from left to rightallocations
- Existing resource assignments for the jobCopyright © 2008–2023 Apache Software Foundation. All rights reserved.