org.apache.hadoop.yarn.server.resourcemanager.webapp.dao
Class FairSchedulerInfo
java.lang.Object
org.apache.hadoop.yarn.server.resourcemanager.webapp.dao.SchedulerInfo
org.apache.hadoop.yarn.server.resourcemanager.webapp.dao.FairSchedulerInfo
public class FairSchedulerInfo
- extends SchedulerInfo
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INVALID_FAIR_SHARE
public static final int INVALID_FAIR_SHARE
- See Also:
- Constant Field Values
FairSchedulerInfo
public FairSchedulerInfo()
FairSchedulerInfo
public FairSchedulerInfo(FairScheduler fs)
getAppFairShare
public int getAppFairShare(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId)
- Get the fair share assigned to the appAttemptId.
- Parameters:
appAttemptId -
- Returns:
- The fair share assigned to the appAttemptId,
FairSchedulerInfo#INVALID_FAIR_SHARE if the scheduler does
not know about this application attempt.
getRootQueueInfo
public FairSchedulerQueueInfo getRootQueueInfo()
Copyright © 2014 Apache Software Foundation. All Rights Reserved.