Uses of Class
org.apache.hadoop.yarn.server.resourcemanager.reservation.ReservationInterval
Packages that use ReservationInterval
Package
Description
This package contains the web data access objects (DAO) for the RM.
-
Uses of ReservationInterval in org.apache.hadoop.yarn.server.resourcemanager.reservation
Methods in org.apache.hadoop.yarn.server.resourcemanager.reservation that return types with arguments of type ReservationIntervalModifier and TypeMethodDescriptionMap<ReservationInterval,org.apache.hadoop.yarn.api.records.Resource> InMemoryReservationAllocation.getAllocationRequests()Map<ReservationInterval,org.apache.hadoop.yarn.api.records.Resource> ReservationAllocation.getAllocationRequests()Returns the map of resources requested against the time interval for which they were.static Map<ReservationInterval,org.apache.hadoop.yarn.api.records.Resource> ReservationSystemUtil.toAllocations(List<org.apache.hadoop.yarn.proto.YarnProtos.ResourceAllocationRequestProto> allocationRequestsList) Map<ReservationInterval,org.apache.hadoop.yarn.api.records.Resource> RLESparseResourceAllocation.toIntervalMap()Returns the representation of the current resources allocated over time as an interval map (in the defined non-null range).static Map<ReservationInterval,org.apache.hadoop.yarn.api.records.Resource> ReservationSystemUtil.toResources(Map<ReservationInterval, org.apache.hadoop.yarn.api.records.ReservationRequest> allocations) Methods in org.apache.hadoop.yarn.server.resourcemanager.reservation with parameters of type ReservationIntervalModifier and TypeMethodDescriptionbooleanPeriodicRLESparseResourceAllocation.addInterval(ReservationInterval interval, org.apache.hadoop.yarn.api.records.Resource resource) Add resource for the specified interval.booleanRLESparseResourceAllocation.addInterval(ReservationInterval reservationInterval, org.apache.hadoop.yarn.api.records.Resource totCap) Add a resource for the specified interval.intReservationInterval.compareTo(ReservationInterval anotherInterval) org.apache.hadoop.yarn.api.records.ResourceRLESparseResourceAllocation.getMinimumCapacityInInterval(ReservationInterval interval) Get the minimum capacity in the specified time range.InMemoryPlan.getReservations(org.apache.hadoop.yarn.api.records.ReservationId reservationID, ReservationInterval interval) InMemoryPlan.getReservations(org.apache.hadoop.yarn.api.records.ReservationId reservationID, ReservationInterval interval, String user) booleanPeriodicRLESparseResourceAllocation.removeInterval(ReservationInterval interval, org.apache.hadoop.yarn.api.records.Resource resource) Removes a resource for the specified interval.booleanRLESparseResourceAllocation.removeInterval(ReservationInterval reservationInterval, org.apache.hadoop.yarn.api.records.Resource totCap) Removes a resource for the specified interval.Method parameters in org.apache.hadoop.yarn.server.resourcemanager.reservation with type arguments of type ReservationIntervalModifier and TypeMethodDescriptionstatic Map<ReservationInterval,org.apache.hadoop.yarn.api.records.Resource> ReservationSystemUtil.toResources(Map<ReservationInterval, org.apache.hadoop.yarn.api.records.ReservationRequest> allocations) Constructor parameters in org.apache.hadoop.yarn.server.resourcemanager.reservation with type arguments of type ReservationIntervalModifierConstructorDescriptionInMemoryReservationAllocation(org.apache.hadoop.yarn.api.records.ReservationId reservationID, org.apache.hadoop.yarn.api.records.ReservationDefinition contract, String user, String planName, long startTime, long endTime, Map<ReservationInterval, org.apache.hadoop.yarn.api.records.Resource> allocations, org.apache.hadoop.yarn.util.resource.ResourceCalculator calculator, org.apache.hadoop.yarn.api.records.Resource minAlloc) InMemoryReservationAllocation(org.apache.hadoop.yarn.api.records.ReservationId reservationID, org.apache.hadoop.yarn.api.records.ReservationDefinition contract, String user, String planName, long startTime, long endTime, Map<ReservationInterval, org.apache.hadoop.yarn.api.records.Resource> allocations, org.apache.hadoop.yarn.util.resource.ResourceCalculator calculator, org.apache.hadoop.yarn.api.records.Resource minAlloc, boolean hasGang) -
Uses of ReservationInterval in org.apache.hadoop.yarn.server.resourcemanager.reservation.planning
Methods in org.apache.hadoop.yarn.server.resourcemanager.reservation.planning that return ReservationIntervalModifier and TypeMethodDescriptionStageExecutionInterval.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.StageExecutionIntervalByDemand.computeExecutionInterval(Plan plan, org.apache.hadoop.yarn.api.records.ReservationDefinition reservation, org.apache.hadoop.yarn.api.records.ReservationRequest currentReservationStage, boolean allocateLeft, RLESparseResourceAllocation allocations) StageExecutionIntervalUnconstrained.computeExecutionInterval(Plan plan, org.apache.hadoop.yarn.api.records.ReservationDefinition reservation, org.apache.hadoop.yarn.api.records.ReservationRequest currentReservationStage, boolean allocateLeft, RLESparseResourceAllocation allocations) protected ReservationIntervalIterativePlanner.setStageExecutionInterval(Plan plan, org.apache.hadoop.yarn.api.records.ReservationDefinition reservation, org.apache.hadoop.yarn.api.records.ReservationRequest currentReservationStage, RLESparseResourceAllocation allocations) Methods in org.apache.hadoop.yarn.server.resourcemanager.reservation.planning that return types with arguments of type ReservationIntervalModifier and TypeMethodDescriptionprotected Map<ReservationInterval,org.apache.hadoop.yarn.api.records.Resource> IterativePlanner.computeStageAllocation(Plan plan, org.apache.hadoop.yarn.api.records.ReservationRequest rr, long stageArrivalTime, long stageDeadline, long period, String user, org.apache.hadoop.yarn.api.records.ReservationId oldId) Map<ReservationInterval,org.apache.hadoop.yarn.api.records.Resource> StageAllocator.computeStageAllocation(Plan plan, RLESparseResourceAllocation planLoads, RLESparseResourceAllocation planModifications, org.apache.hadoop.yarn.api.records.ReservationRequest rr, long stageArrival, long stageDeadline, long period, String user, org.apache.hadoop.yarn.api.records.ReservationId oldId) Computes the allocation of a stage inside a defined time interval.Map<ReservationInterval,org.apache.hadoop.yarn.api.records.Resource> StageAllocatorGreedy.computeStageAllocation(Plan plan, RLESparseResourceAllocation planLoads, RLESparseResourceAllocation planModifications, org.apache.hadoop.yarn.api.records.ReservationRequest rr, long stageEarliestStart, long stageDeadline, long period, String user, org.apache.hadoop.yarn.api.records.ReservationId oldId) Map<ReservationInterval,org.apache.hadoop.yarn.api.records.Resource> StageAllocatorGreedyRLE.computeStageAllocation(Plan plan, RLESparseResourceAllocation planLoads, RLESparseResourceAllocation planModifications, org.apache.hadoop.yarn.api.records.ReservationRequest rr, long stageEarliestStart, long stageDeadline, long period, String user, org.apache.hadoop.yarn.api.records.ReservationId oldId) Map<ReservationInterval,org.apache.hadoop.yarn.api.records.Resource> StageAllocatorLowCostAligned.computeStageAllocation(Plan plan, RLESparseResourceAllocation planLoads, RLESparseResourceAllocation planModifications, org.apache.hadoop.yarn.api.records.ReservationRequest rr, long stageArrival, long stageDeadline, long period, String user, org.apache.hadoop.yarn.api.records.ReservationId oldId) Method parameters in org.apache.hadoop.yarn.server.resourcemanager.reservation.planning with type arguments of type ReservationIntervalModifier and TypeMethodDescriptionprotected static longPlanningAlgorithm.findEarliestTime(Map<ReservationInterval, org.apache.hadoop.yarn.api.records.Resource> sesInt) protected static longPlanningAlgorithm.findLatestTime(Map<ReservationInterval, org.apache.hadoop.yarn.api.records.Resource> sesInt) protected static booleanIterativePlanner.validateOrderNoGap(RLESparseResourceAllocation allocations, Map<ReservationInterval, org.apache.hadoop.yarn.api.records.Resource> curAlloc, boolean allocateLeft) -
Uses of ReservationInterval in org.apache.hadoop.yarn.server.resourcemanager.webapp.dao
Constructors in org.apache.hadoop.yarn.server.resourcemanager.webapp.dao with parameters of type ReservationIntervalModifierConstructorDescriptionResourceAllocationInfo(ReservationInterval interval, org.apache.hadoop.yarn.api.records.Resource res)