public class FairSchedulerInfo extends SchedulerInfo
Modifier and Type | Field and Description |
---|---|
static int |
INVALID_FAIR_SHARE |
maxAllocResource, maximumClusterPriority, minAllocResource, schedulerName, schedulingResourceTypes
Constructor and Description |
---|
FairSchedulerInfo() |
FairSchedulerInfo(FairScheduler fs) |
Modifier and Type | Method and Description |
---|---|
long |
getAppFairShare(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId)
Get the fair share assigned to the appAttemptId.
|
FairSchedulerQueueInfo |
getRootQueueInfo() |
getMaxAllocation, getMaxClusterLevelAppPriority, getMinAllocation, getSchedulerResourceTypes, getSchedulerType
public static final int INVALID_FAIR_SHARE
public FairSchedulerInfo()
public FairSchedulerInfo(FairScheduler fs)
public long getAppFairShare(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId)
appAttemptId
- the application attempt idFairSchedulerInfo#INVALID_FAIR_SHARE
if the scheduler does
not know about this application attempt.public FairSchedulerQueueInfo getRootQueueInfo()
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.