org.apache.hadoop.yarn.server.resourcemanager.scheduler
Interface ResourceScheduler
- All Superinterfaces:
- org.apache.hadoop.yarn.event.EventHandler<SchedulerEvent>, Recoverable, YarnScheduler
- All Known Subinterfaces:
- PreemptableResourceScheduler
- All Known Implementing Classes:
- AbstractYarnScheduler, CapacityScheduler, FairScheduler, FifoScheduler
@InterfaceAudience.LimitedPrivate(value="yarn")
@InterfaceStability.Evolving
public interface ResourceScheduler
- extends YarnScheduler, Recoverable
This interface is the one implemented by the schedulers. It mainly extends
YarnScheduler.
| Methods inherited from interface org.apache.hadoop.yarn.server.resourcemanager.scheduler.YarnScheduler |
addQueue, allocate, checkAccess, getAppResourceUsageReport, getAppsInQueue, getClusterResource, getMaximumResourceCapability, getMinimumResourceCapability, getNodeReport, getNumClusterNodes, getPlanQueues, getQueueInfo, getQueueUserAclInfo, getRMContainer, getRootQueueMetrics, getSchedulerAppInfo, getSchedulingResourceTypes, killAllAppsInQueue, moveAllApps, moveApplication, removeQueue, setEntitlement |
| Methods inherited from interface org.apache.hadoop.yarn.event.EventHandler |
handle |
| Methods inherited from interface org.apache.hadoop.yarn.server.resourcemanager.recovery.Recoverable |
recover |
setRMContext
void setRMContext(RMContext rmContext)
- Set RMContext for
ResourceScheduler.
This method should be called immediately after instantiating
a scheduler once.
- Parameters:
rmContext - created by ResourceManager
reinitialize
void reinitialize(org.apache.hadoop.conf.Configuration conf,
RMContext rmContext)
throws IOException
- Re-initialize the
ResourceScheduler.
- Parameters:
conf - configuration
- Throws:
IOException
Copyright © 2014 Apache Software Foundation. All Rights Reserved.