Uses of Class
org.apache.hadoop.yarn.server.resourcemanager.reservation.RLESparseResourceAllocation
Packages that use RLESparseResourceAllocation
Package
Description
-
Uses of RLESparseResourceAllocation in org.apache.hadoop.yarn.server.resourcemanager.reservation
Subclasses of RLESparseResourceAllocation in org.apache.hadoop.yarn.server.resourcemanager.reservationModifier and TypeClassDescriptionclassThis data structure stores a periodicRLESparseResourceAllocation.Methods in org.apache.hadoop.yarn.server.resourcemanager.reservation that return RLESparseResourceAllocationModifier and TypeMethodDescriptionCapacityOverTimePolicy.availableResources(RLESparseResourceAllocation available, Plan plan, String user, org.apache.hadoop.yarn.api.records.ReservationId oldId, long start, long end) NoOverCommitPolicy.availableResources(RLESparseResourceAllocation available, Plan plan, String user, org.apache.hadoop.yarn.api.records.ReservationId oldId, long start, long end) SharingPolicy.availableResources(RLESparseResourceAllocation available, Plan plan, String user, org.apache.hadoop.yarn.api.records.ReservationId oldId, long start, long end) This method provide a (partial) instantaneous validation by applying business rules (such as max number of parallel containers allowed for a user).InMemoryPlan.getAvailableResourceOverTime(String user, org.apache.hadoop.yarn.api.records.ReservationId oldId, long start, long end, long period) InMemoryPlan.getConsumptionForUserOverTime(String user, long start, long end) InMemoryPlan.getCumulativeLoadOverTime(long start, long end) PeriodicRLESparseResourceAllocation.getRangeOverlapping(long start, long end) RLESparseResourceAllocation.getRangeOverlapping(long start, long end) Get aRLESparseResourceAllocationview of theResourceallocations between the specified start and end times.InMemoryPlan.getReservationCountForUserOverTime(String user, long start, long end) InMemoryReservationAllocation.getResourcesOverTime()InMemoryReservationAllocation.getResourcesOverTime(long start, long end) ReservationAllocation.getResourcesOverTime()Return a RLE representation of used resources.ReservationAllocation.getResourcesOverTime(long start, long end) Return a RLE representation of used resources.static RLESparseResourceAllocationRLESparseResourceAllocation.merge(org.apache.hadoop.yarn.util.resource.ResourceCalculator resCalc, org.apache.hadoop.yarn.api.records.Resource clusterResource, RLESparseResourceAllocation a, RLESparseResourceAllocation b, RLESparseResourceAllocation.RLEOperator operator, long start, long end) Merges the range start to end of twoRLESparseResourceAllocationusing a givenRLEOperator.Methods in org.apache.hadoop.yarn.server.resourcemanager.reservation with parameters of type RLESparseResourceAllocationModifier and TypeMethodDescriptionCapacityOverTimePolicy.availableResources(RLESparseResourceAllocation available, Plan plan, String user, org.apache.hadoop.yarn.api.records.ReservationId oldId, long start, long end) NoOverCommitPolicy.availableResources(RLESparseResourceAllocation available, Plan plan, String user, org.apache.hadoop.yarn.api.records.ReservationId oldId, long start, long end) SharingPolicy.availableResources(RLESparseResourceAllocation available, Plan plan, String user, org.apache.hadoop.yarn.api.records.ReservationId oldId, long start, long end) This method provide a (partial) instantaneous validation by applying business rules (such as max number of parallel containers allowed for a user).static RLESparseResourceAllocationRLESparseResourceAllocation.merge(org.apache.hadoop.yarn.util.resource.ResourceCalculator resCalc, org.apache.hadoop.yarn.api.records.Resource clusterResource, RLESparseResourceAllocation a, RLESparseResourceAllocation b, RLESparseResourceAllocation.RLEOperator operator, long start, long end) Merges the range start to end of twoRLESparseResourceAllocationusing a givenRLEOperator.Constructors in org.apache.hadoop.yarn.server.resourcemanager.reservation with parameters of type RLESparseResourceAllocationModifierConstructorDescriptionPeriodicRLESparseResourceAllocation(RLESparseResourceAllocation rleVector, Long timePeriod) Constructor. -
Uses of RLESparseResourceAllocation in org.apache.hadoop.yarn.server.resourcemanager.reservation.planning
Methods in org.apache.hadoop.yarn.server.resourcemanager.reservation.planning that return RLESparseResourceAllocationModifier and TypeMethodDescriptionIterativePlanner.computeJobAllocation(Plan plan, org.apache.hadoop.yarn.api.records.ReservationId reservationId, org.apache.hadoop.yarn.api.records.ReservationDefinition reservation, String user) abstract RLESparseResourceAllocationPlanningAlgorithm.computeJobAllocation(Plan plan, org.apache.hadoop.yarn.api.records.ReservationId reservationId, org.apache.hadoop.yarn.api.records.ReservationDefinition reservation, String user) Methods in org.apache.hadoop.yarn.server.resourcemanager.reservation.planning with parameters of type RLESparseResourceAllocationModifier and TypeMethodDescriptionprotected doubleStageAllocatorLowCostAligned.calcCostOfInterval(long startTime, long endTime, RLESparseResourceAllocation planLoads, RLESparseResourceAllocation planModifications, org.apache.hadoop.yarn.api.records.Resource capacity, org.apache.hadoop.yarn.util.resource.ResourceCalculator resCalc, long step) protected doubleStageAllocatorLowCostAligned.calcCostOfTimeSlot(long t, RLESparseResourceAllocation planLoads, RLESparseResourceAllocation planModifications, org.apache.hadoop.yarn.api.records.Resource capacity, org.apache.hadoop.yarn.util.resource.ResourceCalculator resCalc) StageExecutionInterval.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) 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) protected static StageAllocatorLowCostAligned.DurationIntervalStageAllocatorLowCostAligned.getDurationInterval(long startTime, long endTime, RLESparseResourceAllocation planLoads, RLESparseResourceAllocation planModifications, org.apache.hadoop.yarn.api.records.Resource capacity, RLESparseResourceAllocation netRLERes, org.apache.hadoop.yarn.util.resource.ResourceCalculator resCalc, long step, org.apache.hadoop.yarn.api.records.Resource requestedResources) protected static intStageAllocatorLowCostAligned.getDurationIntervalGangsCanFit(long startTime, long endTime, RLESparseResourceAllocation planModifications, org.apache.hadoop.yarn.api.records.Resource capacity, RLESparseResourceAllocation netRLERes, org.apache.hadoop.yarn.util.resource.ResourceCalculator resCalc, org.apache.hadoop.yarn.api.records.Resource requestedResources) protected static doubleStageAllocatorLowCostAligned.getDurationIntervalTotalCost(long startTime, long endTime, RLESparseResourceAllocation planLoads, RLESparseResourceAllocation planModifications, org.apache.hadoop.yarn.api.records.Resource capacity, org.apache.hadoop.yarn.util.resource.ResourceCalculator resCalc, long step) protected org.apache.hadoop.yarn.api.records.ResourceStageAllocatorLowCostAligned.getLoadAtTime(long t, RLESparseResourceAllocation planLoads, RLESparseResourceAllocation planModifications) protected ReservationIntervalIterativePlanner.setStageExecutionInterval(Plan plan, org.apache.hadoop.yarn.api.records.ReservationDefinition reservation, org.apache.hadoop.yarn.api.records.ReservationRequest currentReservationStage, RLESparseResourceAllocation allocations) protected static booleanIterativePlanner.validateOrderNoGap(RLESparseResourceAllocation allocations, Map<ReservationInterval, org.apache.hadoop.yarn.api.records.Resource> curAlloc, boolean allocateLeft)