Class FairSchedulerQueueInfo
java.lang.Object
org.apache.hadoop.yarn.server.resourcemanager.webapp.dao.FairSchedulerQueueInfo
- Direct Known Subclasses:
FairSchedulerLeafQueueInfo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongprotected FairSchedulerQueueInfoListgetChildQueues(FSQueue queue, FairScheduler scheduler) Returns the fair share of this queue in megabytes.floatReturns the fair share as a fraction of the entire cluster capacity.intfloatReturns the capacity of this queue as a fraction of the entire cluster capacity.longlongReturns the name of the scheduling policy used by this queue.Returns the steady fair share of this queue in megabytes.floatReturns the steady fair share as a fraction of the entire cluster capacity.floatReturns the memory used by this queue as a fraction of the entire cluster capacity.boolean
-
Constructor Details
-
FairSchedulerQueueInfo
public FairSchedulerQueueInfo() -
FairSchedulerQueueInfo
-
-
Method Details
-
getAllocatedContainers
public long getAllocatedContainers() -
getPendingContainers
public long getPendingContainers() -
getReservedContainers
public long getReservedContainers() -
getChildQueues
-
getMinResources
-
getMaxResources
-
getMaxContainerAllocation
-
getReservedResources
-
getMaxApplications
public int getMaxApplications() -
getQueueName
-
getUsedResources
-
getAMUsedResources
- Returns:
- the am used resource of this queue.
-
getAMMaxResources
- Returns:
- the am max resource of this queue.
-
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
Returns the name of the scheduling policy used by this queue.- Returns:
- SchedulingPolicy.
-
getChildQueues
-
isPreemptable
public boolean isPreemptable()
-