Package org.apache.hadoop.yarn.server.resourcemanager.reservation.planning
package org.apache.hadoop.yarn.server.resourcemanager.reservation.planning
-
ClassDescriptionA planning algorithm that first runs LowCostAligned, and if it fails runs Greedy.This Agent employs a simple greedy placement strategy, placing the various stages of a
ReservationDefinitionfrom the deadline moving backward towards the arrival.A planning algorithm consisting of two main phases.Helper class that provide a list of ReservationRequests and iterates forward or backward depending whether we are allocating left-to-right or right-to-left.An abstract class that follows the general behavior of planning algorithms.An entity that seeks to acquire resources to satisfy an user's contractThis (re)planner scan a period of time from now to a maximum time window (or the end of the last session, whichever comes first) checking the overall capacity is not violated.Interface for allocating a single stage in IterativePlanner.Computes the stage allocation according to the greedy allocation rule.Computes the stage allocation according to the greedy allocation rule.A stage allocator that iteratively allocates containers in theStageAllocatorLowCostAligned.DurationIntervalwith lowest overall cost.An inner class that represents an interval, typically of length duration.An auxiliary class used to compute the time interval in which the stage can be allocated resources byIterativePlanner.An implementation ofStageExecutionInterval, which sets the execution interval of the stage.An implementation ofStageExecutionIntervalwhich gives each stage the maximal possible time interval, given the job constraints.A planning algorithm that invokes several other planning algorithms according to a given order.