| Package | Description |
|---|---|
| org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair |
| Modifier and Type | Method and Description |
|---|---|
FSSchedulerApp |
AppSchedulable.getApp() |
FSSchedulerApp |
FairScheduler.getSchedulerApp(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId) |
| Modifier and Type | Method and Description |
|---|---|
void |
FSLeafQueue.addApp(FSSchedulerApp app,
boolean runnable) |
org.apache.hadoop.yarn.api.records.Container |
AppSchedulable.createContainer(FSSchedulerApp application,
FSSchedulerNode node,
org.apache.hadoop.yarn.api.records.Resource capability,
org.apache.hadoop.yarn.api.records.Priority priority)
Create and return a container object reflecting an allocation for the
given appliction on the given node with the given capability and
priority.
|
boolean |
FSLeafQueue.removeApp(FSSchedulerApp app)
Removes the given app from this queue.
|
void |
MaxRunningAppsEnforcer.trackNonRunnableApp(FSSchedulerApp app)
Tracks the given new non runnable app so that it can be made runnable when
it would not violate max running app limits.
|
void |
MaxRunningAppsEnforcer.trackRunnableApp(FSSchedulerApp app)
Tracks the given new runnable app for purposes of maintaining max running
app limits.
|
void |
MaxRunningAppsEnforcer.untrackNonRunnableApp(FSSchedulerApp app)
Stops tracking the given non-runnable app
|
void |
MaxRunningAppsEnforcer.untrackRunnableApp(FSSchedulerApp app)
Updates the relevant tracking variables after a runnable app with the given
queue and user has been removed.
|
void |
MaxRunningAppsEnforcer.updateRunnabilityOnAppRemoval(FSSchedulerApp app,
FSLeafQueue queue)
Checks to see whether any other applications runnable now that the given
application has been removed from the given queue.
|
| Constructor and Description |
|---|
AppSchedulable(FairScheduler scheduler,
FSSchedulerApp app,
FSLeafQueue queue) |
Copyright © 2014 Apache Software Foundation. All Rights Reserved.