|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.service.AbstractService
org.apache.hadoop.yarn.server.resourcemanager.reservation.AbstractReservationSystem
org.apache.hadoop.yarn.server.resourcemanager.reservation.CapacityReservationSystem
@InterfaceAudience.LimitedPrivate(value="yarn") @InterfaceStability.Unstable public class CapacityReservationSystem
This is the implementation of ReservationSystem based on the
CapacityScheduler
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.apache.hadoop.service.Service |
|---|
org.apache.hadoop.service.Service.STATE |
| Field Summary |
|---|
| Fields inherited from class org.apache.hadoop.yarn.server.resourcemanager.reservation.AbstractReservationSystem |
|---|
conf, planStepSize |
| Constructor Summary | |
|---|---|
CapacityReservationSystem()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.apache.hadoop.yarn.server.resourcemanager.reservation.AbstractReservationSystem |
|---|
getAllPlans, getDefaultReservationSystem, getNewReservationId, getPlan, getPlanFollowerTimeStep, getQueueForReservation, serviceInit, serviceStart, serviceStop, setQueueForReservation, setRMContext, synchronizePlan |
| Methods inherited from class org.apache.hadoop.service.AbstractService |
|---|
close, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStop |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CapacityReservationSystem()
| Method Detail |
|---|
public 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 ResourceManager
org.apache.hadoop.yarn.exceptions.YarnException
protected 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 AbstractReservationSystem
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||