public class FairSchedulerQueueInfo extends Object
Constructor and Description |
---|
FairSchedulerQueueInfo() |
FairSchedulerQueueInfo(FSQueue queue,
FairScheduler scheduler) |
Modifier and Type | Method and Description |
---|---|
long |
getAllocatedContainers() |
ResourceInfo |
getAMMaxResources() |
ResourceInfo |
getAMUsedResources() |
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() |
String |
getQueueName() |
long |
getReservedContainers() |
ResourceInfo |
getReservedResources() |
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() |
boolean |
isPreemptable() |
public FairSchedulerQueueInfo()
public FairSchedulerQueueInfo(FSQueue queue, FairScheduler scheduler)
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 ResourceInfo getReservedResources()
public int getMaxApplications()
public String getQueueName()
public ResourceInfo getUsedResources()
public ResourceInfo getAMUsedResources()
public ResourceInfo getAMMaxResources()
public ResourceInfo getDemandResources()
public float getUsedMemoryFraction()
public float getMaxResourcesFraction()
public String getSchedulingPolicy()
public Collection<FairSchedulerQueueInfo> getChildQueues()
public boolean isPreemptable()
Copyright © 2020 Apache Software Foundation. All rights reserved.