public class FairSchedulerQueueInfo extends Object
Constructor and Description |
---|
FairSchedulerQueueInfo() |
FairSchedulerQueueInfo(FSQueue queue,
FairScheduler scheduler) |
Modifier and Type | Method and Description |
---|---|
long |
getAllocatedContainers() |
Collection<FairSchedulerQueueInfo> |
getChildQueues() |
protected FairSchedulerQueueInfoList |
getChildQueues(FSQueue queue,
FairScheduler scheduler) |
ResourceInfo |
getDemandResources() |
ResourceInfo |
getFairShare()
Returns the fair share of this queue in megabytes
|
float |
getFairShareMemoryFraction()
Returns the fair share as a fraction of the entire cluster capacity.
|
int |
getMaxApplications() |
ResourceInfo |
getMaxResources() |
float |
getMaxResourcesFraction()
Returns the capacity of this queue as a fraction of the entire cluster
capacity.
|
ResourceInfo |
getMinResources() |
float |
getMinShareMemoryFraction()
Returns the queue's min share in as a fraction of the entire
cluster capacity.
|
long |
getPendingContainers() |
String |
getQueueName() |
long |
getReservedContainers() |
String |
getSchedulingPolicy()
Returns the name of the scheduling policy used by this queue.
|
ResourceInfo |
getSteadyFairShare()
Returns the steady fair share of this queue in megabytes.
|
float |
getSteadyFairShareMemoryFraction()
Returns the steady fair share as a fraction of the entire cluster capacity.
|
float |
getUsedMemoryFraction()
Returns the memory used by this queue as a fraction of the entire
cluster capacity.
|
ResourceInfo |
getUsedResources() |
public FairSchedulerQueueInfo()
public FairSchedulerQueueInfo(FSQueue queue, FairScheduler scheduler)
public long getPendingContainers()
public long getAllocatedContainers()
public long getReservedContainers()
protected FairSchedulerQueueInfoList getChildQueues(FSQueue queue, FairScheduler scheduler)
public float getSteadyFairShareMemoryFraction()
public float getFairShareMemoryFraction()
public ResourceInfo getSteadyFairShare()
public ResourceInfo getFairShare()
public ResourceInfo getMinResources()
public ResourceInfo getMaxResources()
public int getMaxApplications()
public String getQueueName()
public ResourceInfo getUsedResources()
public ResourceInfo getDemandResources()
public float getMinShareMemoryFraction()
public float getUsedMemoryFraction()
public float getMaxResourcesFraction()
public String getSchedulingPolicy()
public Collection<FairSchedulerQueueInfo> getChildQueues()
Copyright © 2017 Apache Software Foundation. All Rights Reserved.