@InterfaceAudience.LimitedPrivate(value="yarn") public interface SchedulerQueue<T extends SchedulerQueue> extends Queue
Modifier and Type | Method and Description |
---|---|
void |
activeQueue()
Active the queue.
|
List<T> |
getChildQueues()
Get list of child queues.
|
T |
getParent()
Get the parent queue.
|
org.apache.hadoop.yarn.api.records.QueueState |
getState()
Get current queue state.
|
void |
stopQueue()
Stop the queue.
|
void |
updateQueueState(org.apache.hadoop.yarn.api.records.QueueState state)
Update the queue state.
|
decPendingResource, decReservedResource, getAbstractUsersManager, getAccessibleNodeLabels, getDefaultApplicationPriority, getDefaultNodeLabelExpression, getMetrics, getQueueInfo, getQueueName, getQueueUserAclInfo, hasAccess, incPendingResource, incReservedResource, recoverContainer
T getParent()
org.apache.hadoop.yarn.api.records.QueueState getState()
void updateQueueState(org.apache.hadoop.yarn.api.records.QueueState state)
state
- the queue statevoid stopQueue()
void activeQueue() throws org.apache.hadoop.yarn.exceptions.YarnException
org.apache.hadoop.yarn.exceptions.YarnException
- if the queue can not be activated.Copyright © 2020 Apache Software Foundation. All rights reserved.