Package | Description |
---|---|
org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair |
Modifier and Type | Method and Description |
---|---|
FSAppAttempt |
FairScheduler.getSchedulerApp(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId) |
Modifier and Type | Method and Description |
---|---|
boolean |
MaxRunningAppsEnforcer.canAppBeRunnable(FSQueue queue,
FSAppAttempt attempt)
Checks whether making the application runnable would exceed any
maxRunningApps limits.
|
int |
FifoAppComparator.compare(FSAppAttempt a1,
FSAppAttempt a2) |
void |
MaxRunningAppsEnforcer.trackNonRunnableApp(FSAppAttempt 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(FSAppAttempt app)
Tracks the given new runnable app for purposes of maintaining max running
app limits.
|
void |
MaxRunningAppsEnforcer.untrackNonRunnableApp(FSAppAttempt app)
Stops tracking the given non-runnable app.
|
void |
MaxRunningAppsEnforcer.untrackRunnableApp(FSAppAttempt app)
Updates the relevant tracking variables after a runnable app with the given
queue and user has been removed.
|
void |
MaxRunningAppsEnforcer.updateRunnabilityOnAppRemoval(FSAppAttempt app,
FSLeafQueue queue)
Checks to see whether any other applications runnable now that the given
application has been removed from the given queue.
|
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.