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
  • Field Details

  • Constructor Details

    • FairSchedulerInfo

      public FairSchedulerInfo()
    • FairSchedulerInfo

      public FairSchedulerInfo(FairScheduler fs)
  • Method Details

    • getAppFairShare

      public long getAppFairShare(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId)
      Get the fair share assigned to the appAttemptId.
      Parameters:
      appAttemptId - the application attempt id
      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()