@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 int |
getMaxParallelApps()
Get the configured max parallel apps of the queue.
|
abstract long |
getMaxResourceMemory()
Get the maximum resource Memory.
|
abstract int |
getMaxResourceVCore()
Get the maximum resource VCore.
|
abstract int |
getMaxRunningApp()
Get the MaxRunningApp.
|
abstract long |
getMinResourceMemory()
Get the minimum resource Memory.
|
abstract int |
getMinResourceVCore()
Get the minimum resource VCore.
|
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 String |
getQueuePath()
Get the path of the queue.
|
abstract QueueState |
getQueueState()
Get the
QueueState of the queue. |
abstract QueueStatistics |
getQueueStatistics()
Get the
queue stats for the queue |
abstract long |
getReservedResourceMemory()
Get the reserved resource Memory.
|
abstract int |
getReservedResourceVCore()
Get the reserved resource VCore.
|
abstract String |
getSchedulerType()
Get Scheduler type.
|
abstract long |
getSteadyFairShareMemory()
Get the SteadyFairShare Memory.
|
abstract int |
getSteadyFairShareVCore()
Get the SteadyFairShare VCore.
|
abstract String |
getSubClusterId()
Get the SubClusterId.
|
abstract float |
getWeight()
Get the configured weight of 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 String getQueuePath()
@InterfaceAudience.Public @InterfaceStability.Stable public abstract float getCapacity()
@InterfaceAudience.Public @InterfaceStability.Stable public abstract float getWeight()
@InterfaceAudience.Public @InterfaceStability.Stable public abstract int getMaxParallelApps()
@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()
@InterfaceAudience.Public @InterfaceStability.Stable public abstract String getSchedulerType()
@InterfaceAudience.Public @InterfaceStability.Stable public abstract int getMinResourceVCore()
@InterfaceAudience.Public @InterfaceStability.Stable public abstract long getMinResourceMemory()
@InterfaceAudience.Public @InterfaceStability.Stable public abstract int getMaxResourceVCore()
@InterfaceAudience.Public @InterfaceStability.Stable public abstract long getMaxResourceMemory()
@InterfaceAudience.Public @InterfaceStability.Stable public abstract int getReservedResourceVCore()
@InterfaceAudience.Public @InterfaceStability.Stable public abstract long getReservedResourceMemory()
@InterfaceAudience.Public @InterfaceStability.Stable public abstract int getSteadyFairShareVCore()
@InterfaceAudience.Public @InterfaceStability.Stable public abstract long getSteadyFairShareMemory()
@InterfaceAudience.Public @InterfaceStability.Stable public abstract String getSubClusterId()
@InterfaceAudience.Public @InterfaceStability.Stable public abstract int getMaxRunningApp()
Copyright © 2024 Apache Software Foundation. All rights reserved.