|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.MaxRunningAppsEnforcer
public class MaxRunningAppsEnforcer
Handles tracking and enforcement for user and queue maxRunningApps constraints
| Constructor Summary | |
|---|---|
MaxRunningAppsEnforcer(FairScheduler scheduler)
|
|
| Method Summary | |
|---|---|
boolean |
canAppBeRunnable(FSQueue queue,
String user)
Checks whether making the application runnable would exceed any maxRunningApps limits. |
void |
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 |
trackRunnableApp(FSSchedulerApp app)
Tracks the given new runnable app for purposes of maintaining max running app limits. |
void |
untrackNonRunnableApp(FSSchedulerApp app)
Stops tracking the given non-runnable app |
void |
updateRunnabilityOnAppRemoval(FSSchedulerApp app)
Updates the relevant tracking variables after a runnable app with the given queue and user has been removed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MaxRunningAppsEnforcer(FairScheduler scheduler)
| Method Detail |
|---|
public boolean canAppBeRunnable(FSQueue queue,
String user)
public void trackRunnableApp(FSSchedulerApp app)
public void trackNonRunnableApp(FSSchedulerApp app)
public void updateRunnabilityOnAppRemoval(FSSchedulerApp app)
public void untrackNonRunnableApp(FSSchedulerApp app)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||