@InterfaceAudience.Public @InterfaceStability.Stable public abstract class QueueInfo extends Object
It includes information such as:
QueueState
of the queue.QueueConfigurations
of the queue.QueueState
,
QueueConfigurations
,
ApplicationClientProtocol.getQueueInfo(org.apache.hadoop.yarn.api.protocolrecords.GetQueueInfoRequest)
Constructor and Description |
---|
QueueInfo() |
Modifier and Type | Method and Description |
---|---|
abstract Set<String> |
getAccessibleNodeLabels()
Get the
accessible node labels of the queue. |
abstract List<ApplicationReport> |
getApplications()
Get the running applications of the queue.
|
abstract float |
getCapacity()
Get the configured capacity of the queue.
|
abstract List<QueueInfo> |
getChildQueues()
Get the child queues of the queue.
|
abstract float |
getCurrentCapacity()
Get the current capacity of the queue.
|
abstract String |
getDefaultNodeLabelExpression()
Get the
default node label expression of the queue, this takes
affect only when the ApplicationSubmissionContext and
ResourceRequest don't specify their
NodeLabelExpression . |
abstract Boolean |
getIntraQueuePreemptionDisabled()
Get the intra-queue preemption status of the queue.
|
abstract float |
getMaximumCapacity()
Get the maximum capacity of the queue.
|
abstract Boolean |
getPreemptionDisabled()
Get the preemption status of the queue.
|
abstract Map<String,org.apache.hadoop.yarn.api.records.QueueConfigurations> |
getQueueConfigurations()
Get the per-node-label queue configurations of the queue.
|
abstract String |
getQueueName()
Get the name of the queue.
|
abstract QueueState |
getQueueState()
Get the
QueueState of the queue. |
abstract QueueStatistics |
getQueueStatistics()
Get the
queue stats for the queue |
abstract void |
setDefaultNodeLabelExpression(String defaultLabelExpression) |
abstract void |
setQueueStatistics(QueueStatistics queueStatistics)
Set the queue statistics for the queue
|
@InterfaceAudience.Public @InterfaceStability.Stable public abstract String getQueueName()
@InterfaceAudience.Public @InterfaceStability.Stable public abstract float getCapacity()
@InterfaceAudience.Public @InterfaceStability.Stable public abstract float getMaximumCapacity()
@InterfaceAudience.Public @InterfaceStability.Stable public abstract float getCurrentCapacity()
@InterfaceAudience.Public @InterfaceStability.Stable public abstract List<QueueInfo> getChildQueues()
@InterfaceAudience.Public @InterfaceStability.Stable public abstract List<ApplicationReport> getApplications()
@InterfaceAudience.Public @InterfaceStability.Stable public abstract QueueState getQueueState()
QueueState
of the queue.QueueState
of the queue@InterfaceAudience.Public @InterfaceStability.Stable public abstract Set<String> getAccessibleNodeLabels()
accessible node labels
of the queue.accessible node labels
of the queue@InterfaceAudience.Public @InterfaceStability.Stable public abstract String getDefaultNodeLabelExpression()
default node label expression
of the queue, this takes
affect only when the ApplicationSubmissionContext
and
ResourceRequest
don't specify their
NodeLabelExpression
.default node label expression
of the queue@InterfaceAudience.Public @InterfaceStability.Stable public abstract void setDefaultNodeLabelExpression(String defaultLabelExpression)
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract QueueStatistics getQueueStatistics()
queue stats
for the queuequeue stats
of the queue@InterfaceAudience.Public @InterfaceStability.Unstable public abstract void setQueueStatistics(QueueStatistics queueStatistics)
queueStatistics
- the queue statistics@InterfaceAudience.Public @InterfaceStability.Stable public abstract Boolean getPreemptionDisabled()
@InterfaceAudience.Public @InterfaceStability.Stable public abstract Map<String,org.apache.hadoop.yarn.api.records.QueueConfigurations> getQueueConfigurations()
@InterfaceAudience.Public @InterfaceStability.Stable public abstract Boolean getIntraQueuePreemptionDisabled()
Copyright © 2022 Apache Software Foundation. All rights reserved.