java.io.Closeable, java.lang.AutoCloseable, org.apache.hadoop.service.Service, Recoverable, ReservationSystempublic class FairReservationSystem extends AbstractReservationSystem
conf, planStepSize| Constructor | Description |
|---|---|
FairReservationSystem() |
| Modifier and Type | Method | Description |
|---|---|---|
protected org.apache.hadoop.yarn.api.records.Resource |
getMaxAllocation() |
|
protected org.apache.hadoop.yarn.api.records.Resource |
getMinAllocation() |
|
Plan |
getPlan(java.lang.String planName) |
Get an existing
Plan that has been initialized. |
protected org.apache.hadoop.yarn.api.records.Resource |
getPlanQueueCapacity(java.lang.String planQueueName) |
|
protected java.lang.String |
getPlanQueuePath(java.lang.String planQueueName) |
|
protected ReservationSchedulerConfiguration |
getReservationSchedulerConfiguration() |
|
protected org.apache.hadoop.yarn.util.resource.ResourceCalculator |
getResourceCalculator() |
|
protected QueueMetrics |
getRootQueueMetrics() |
|
void |
reinitialize(org.apache.hadoop.conf.Configuration conf,
RMContext rmContext) |
Re-initialize the
ReservationSystem. |
getAdmissionPolicy, getAgent, getAllPlans, getDefaultReservationSystem, getNewReservationId, getPlanFollowerTimeStep, getQueueForReservation, getReplanner, getReservationsACLsManager, initializePlan, recover, serviceInit, serviceStart, serviceStop, setQueueForReservation, setRMContext, synchronizePlanclose, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStoppublic void reinitialize(org.apache.hadoop.conf.Configuration conf,
RMContext rmContext)
throws org.apache.hadoop.yarn.exceptions.YarnException
ReservationSystemReservationSystem.reinitialize in interface ReservationSystemreinitialize in class AbstractReservationSystemconf - configurationrmContext - current context of the ResourceManagerorg.apache.hadoop.yarn.exceptions.YarnException - if initialization of the configured plan failsprotected ReservationSchedulerConfiguration getReservationSchedulerConfiguration()
getReservationSchedulerConfiguration in class AbstractReservationSystemprotected org.apache.hadoop.yarn.util.resource.ResourceCalculator getResourceCalculator()
getResourceCalculator in class AbstractReservationSystemprotected QueueMetrics getRootQueueMetrics()
getRootQueueMetrics in class AbstractReservationSystemprotected org.apache.hadoop.yarn.api.records.Resource getMinAllocation()
getMinAllocation in class AbstractReservationSystemprotected org.apache.hadoop.yarn.api.records.Resource getMaxAllocation()
getMaxAllocation in class AbstractReservationSystemprotected java.lang.String getPlanQueuePath(java.lang.String planQueueName)
getPlanQueuePath in class AbstractReservationSystemprotected org.apache.hadoop.yarn.api.records.Resource getPlanQueueCapacity(java.lang.String planQueueName)
getPlanQueueCapacity in class AbstractReservationSystempublic Plan getPlan(java.lang.String planName)
ReservationSystemPlan that has been initialized.getPlan in interface ReservationSystemgetPlan in class AbstractReservationSystemplanName - the name of the PlanPlan identified by nameCopyright © 2008–2025 Apache Software Foundation. All rights reserved.