Package org.apache.hadoop.yarn.server.resourcemanager.reservation
package org.apache.hadoop.yarn.server.resourcemanager.reservation
-
ClassDescriptionThis is the implementation of
ReservationSystembased on theResourceSchedulerThis policy enforces a time-extended notion of Capacity.This is the implementation ofReservationSystembased on theCapacitySchedulerThis class implements aPlanFollower.This class represents an in memory representation of the state of our reservation system, and provides accelerated access to both individual reservations and aggregate utilization of resources over time.An in memory implementation of a reservation allocation using theRLESparseResourceAllocationThis policy enforce a simple physical cluster capacity constraints, by validating that the allocation proposed fits in the current plan.This data structure stores a periodicRLESparseResourceAllocation.A Plan represents the central data structure of a reservation system that maintains the "agenda" for the cluster.This interface provides read-only access to configuration-type parameter for a plan.This interface groups the methods used to modify the state of a Plan.A PlanFollower is a component that runs on a timer, and synchronizes the underlyingResourceSchedulerwith thePlan(s) and viceversa.A ReservationAllocation represents a concrete allocation of resources over time that satisfy a certainReservationDefinition.This represents the time duration of the reservationThis interface is the one implemented by any system that wants to support Reservations i.e. makeResourceallocations in future.Simple helper class for static methods used to transform across common formats in testsThis is a run length encoded sparse data structure that maintains resource allocations over time.The set of operators that can be applied to twoRLESparseResourceAllocationduring a merge operation.This is the interface for policy that validate newReservationAllocations for allocations being added to aPlan.