@InterfaceAudience.LimitedPrivate(value="yarn") @InterfaceStability.Unstable public class CapacityReservationSystem extends AbstractReservationSystem
ReservationSystem based on the
CapacitySchedulerconf, planStepSize| Constructor and Description |
|---|
CapacityReservationSystem() |
| Modifier and Type | Method and Description |
|---|---|
protected SharingPolicy |
getAdmissionPolicy(String queueName) |
protected ReservationAgent |
getAgent(String queueName) |
protected Planner |
getReplanner(String planQueueName) |
protected Plan |
initializePlan(String planQueueName) |
void |
reinitialize(org.apache.hadoop.conf.Configuration conf,
RMContext rmContext)
Re-initialize the
ReservationSystem. |
getAllPlans, getDefaultReservationSystem, getNewReservationId, getPlan, getPlanFollowerTimeStep, getQueueForReservation, 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.YarnExceptionprotected Plan initializePlan(String planQueueName) throws org.apache.hadoop.yarn.exceptions.YarnException
initializePlan in class AbstractReservationSystemorg.apache.hadoop.yarn.exceptions.YarnExceptionprotected Planner getReplanner(String planQueueName)
getReplanner in class AbstractReservationSystemprotected ReservationAgent getAgent(String queueName)
getAgent in class AbstractReservationSystemprotected SharingPolicy getAdmissionPolicy(String queueName)
getAdmissionPolicy in class AbstractReservationSystemCopyright © 2015 Apache Software Foundation. All Rights Reserved.