public static class QueuePlacementRule.NestedUserQueue extends QueuePlacementRule
QueuePlacementRule.Default, QueuePlacementRule.NestedUserQueue, QueuePlacementRule.PrimaryGroup, QueuePlacementRule.Reject, QueuePlacementRule.SecondaryGroupExistingQueue, QueuePlacementRule.Specified, QueuePlacementRule.Usercreate, LOG| Constructor and Description |
|---|
NestedUserQueue() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getQueueForApp(String requestedQueue,
String user,
org.apache.hadoop.security.Groups groups,
Map<FSQueueType,Set<String>> configuredQueues)
Applies this rule to an app with the given requested queue and user/group
information.
|
void |
initializeFromXml(Element el)
Parse xml and instantiate the nested rule
|
boolean |
isTerminal()
Returns true if this rule never tells the policy to continue.
|
assignAppToQueue, cleanName, initializepublic void initializeFromXml(Element el) throws AllocationConfigurationException
initializeFromXml in class QueuePlacementRuleAllocationConfigurationExceptionprotected String getQueueForApp(String requestedQueue, String user, org.apache.hadoop.security.Groups groups, Map<FSQueueType,Set<String>> configuredQueues) throws IOException
QueuePlacementRulegetQueueForApp in class QueuePlacementRulerequestedQueue - The queue specified in the ApplicationSubmissionContextuser - The user submitting the app.groups - The groups of the user submitting the app.IOExceptionpublic boolean isTerminal()
QueuePlacementRuleisTerminal in class QueuePlacementRuleCopyright © 2008–2022 Apache Software Foundation. All rights reserved.