public abstract class AbstractYarnScheduler extends Object implements ResourceScheduler
| Modifier and Type | Field and Description |
|---|---|
protected Map<org.apache.hadoop.yarn.api.records.ApplicationId,SchedulerApplication> |
applications |
protected static Allocation |
EMPTY_ALLOCATION |
protected static List<org.apache.hadoop.yarn.api.records.Container> |
EMPTY_CONTAINER_LIST |
protected RMContext |
rmContext |
| Constructor and Description |
|---|
AbstractYarnScheduler() |
| Modifier and Type | Method and Description |
|---|---|
Map<org.apache.hadoop.yarn.api.records.ApplicationId,SchedulerApplication> |
getSchedulerApplications() |
List<org.apache.hadoop.yarn.api.records.Container> |
getTransferredContainers(org.apache.hadoop.yarn.api.records.ApplicationAttemptId currentAttempt) |
String |
moveApplication(org.apache.hadoop.yarn.api.records.ApplicationId appId,
String newQueue)
Moves the given application to the given queue
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreinitializeallocate, checkAccess, getAppResourceUsageReport, getAppsInQueue, getMaximumResourceCapability, getMinimumResourceCapability, getNodeReport, getNumClusterNodes, getQueueInfo, getQueueUserAclInfo, getRMContainer, getRootQueueMetrics, getSchedulerAppInforecoverprotected RMContext rmContext
protected Map<org.apache.hadoop.yarn.api.records.ApplicationId,SchedulerApplication> applications
protected static final List<org.apache.hadoop.yarn.api.records.Container> EMPTY_CONTAINER_LIST
protected static final Allocation EMPTY_ALLOCATION
public List<org.apache.hadoop.yarn.api.records.Container> getTransferredContainers(org.apache.hadoop.yarn.api.records.ApplicationAttemptId currentAttempt)
public Map<org.apache.hadoop.yarn.api.records.ApplicationId,SchedulerApplication> getSchedulerApplications()
public String moveApplication(org.apache.hadoop.yarn.api.records.ApplicationId appId, String newQueue) throws org.apache.hadoop.yarn.exceptions.YarnException
YarnSchedulermoveApplication in interface YarnSchedulerorg.apache.hadoop.yarn.exceptions.YarnException - if the move cannot be carried outCopyright © 2014 Apache Software Foundation. All Rights Reserved.