Class FairSchedulerQueueInfo

java.lang.Object
org.apache.hadoop.yarn.server.resourcemanager.webapp.dao.FairSchedulerQueueInfo
Direct Known Subclasses:
FairSchedulerLeafQueueInfo

public class FairSchedulerQueueInfo extends Object
  • Constructor Details

    • FairSchedulerQueueInfo

      public FairSchedulerQueueInfo()
    • FairSchedulerQueueInfo

      public FairSchedulerQueueInfo(FSQueue queue, FairScheduler scheduler)
  • Method Details

    • getAllocatedContainers

      public long getAllocatedContainers()
    • getPendingContainers

      public long getPendingContainers()
    • getReservedContainers

      public long getReservedContainers()
    • getChildQueues

      protected FairSchedulerQueueInfoList getChildQueues(FSQueue queue, FairScheduler scheduler)
    • getSteadyFairShareMemoryFraction

      public float getSteadyFairShareMemoryFraction()
      Returns the steady fair share as a fraction of the entire cluster capacity.
      Returns:
      steady fairshare memoryfraction.
    • getFairShareMemoryFraction

      public float getFairShareMemoryFraction()
      Returns the fair share as a fraction of the entire cluster capacity.
      Returns:
      fair share memory fraction.
    • getSteadyFairShare

      public ResourceInfo getSteadyFairShare()
      Returns the steady fair share of this queue in megabytes.
      Returns:
      steady fair share.
    • getFairShare

      public ResourceInfo getFairShare()
      Returns the fair share of this queue in megabytes.
      Returns:
      fair share.
    • getMinResources

      public ResourceInfo getMinResources()
    • getMaxResources

      public ResourceInfo getMaxResources()
    • getMaxContainerAllocation

      public ResourceInfo getMaxContainerAllocation()
    • getReservedResources

      public ResourceInfo getReservedResources()
    • getMaxApplications

      public int getMaxApplications()
    • getQueueName

      public String getQueueName()
    • getUsedResources

      public ResourceInfo getUsedResources()
    • getAMUsedResources

      public ResourceInfo getAMUsedResources()
      Returns:
      the am used resource of this queue.
    • getAMMaxResources

      public ResourceInfo getAMMaxResources()
      Returns:
      the am max resource of this queue.
    • getDemandResources

      public ResourceInfo getDemandResources()
      Returns:
      the demand resource of this queue.
    • getUsedMemoryFraction

      public float getUsedMemoryFraction()
      Returns the memory used by this queue as a fraction of the entire cluster capacity.
      Returns:
      used memory fraction.
    • getMaxResourcesFraction

      public float getMaxResourcesFraction()
      Returns the capacity of this queue as a fraction of the entire cluster capacity.
      Returns:
      max resources fraction.
    • getSchedulingPolicy

      public String getSchedulingPolicy()
      Returns the name of the scheduling policy used by this queue.
      Returns:
      SchedulingPolicy.
    • getChildQueues

      public Collection<FairSchedulerQueueInfo> getChildQueues()
    • isPreemptable

      public boolean isPreemptable()