public static class QueuePlacementRule.PrimaryGroup extends QueuePlacementRule
QueuePlacementRule.Default, QueuePlacementRule.NestedUserQueue, QueuePlacementRule.PrimaryGroup, QueuePlacementRule.Reject, QueuePlacementRule.SecondaryGroupExistingQueue, QueuePlacementRule.Specified, QueuePlacementRule.User
create, LOG
Constructor and Description |
---|
QueuePlacementRule.PrimaryGroup() |
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.
|
boolean |
isTerminal()
Returns true if this rule never tells the policy to continue.
|
assignAppToQueue, cleanName, initialize, initializeFromXml
protected String getQueueForApp(String requestedQueue, String user, org.apache.hadoop.security.Groups groups, Map<FSQueueType,Set<String>> configuredQueues) throws IOException
QueuePlacementRule
getQueueForApp
in class QueuePlacementRule
requestedQueue
- The queue specified in the ApplicationSubmissionContextuser
- The user submitting the app.groups
- The groups of the user submitting the app.IOException
public boolean isTerminal()
QueuePlacementRule
isTerminal
in class QueuePlacementRule
Copyright © 2017 Apache Software Foundation. All Rights Reserved.