| Package | Description |
|---|---|
| org.apache.hadoop.yarn.server.resourcemanager.placement.csmappingrule |
| Modifier and Type | Class | Description |
|---|---|---|
class |
MappingRuleActionBase |
This class implements the fallback logic for MappingRuleActions, this can
be extended to implement the actual logic of the actions, this should be
a base class for most actions.
|
static class |
MappingRuleActions.PlaceToQueueAction |
PlaceToQueueAction represents a placement action, contains the pattern of
the queue name or path in which the path variables will be substituted
with the variable context's respective values.
|
static class |
MappingRuleActions.RejectAction |
RejectAction represents the action when the application is rejected, this
simply will throw an error on the user's side letting it know the
submission was rejected.
|
static class |
MappingRuleActions.VariableUpdateAction |
VariableUpdateAction represents the action which alters one of the
mutable variables in the variable context, but doesn't do anything with
the application.
|
| Modifier and Type | Method | Description |
|---|---|---|
static MappingRuleAction |
MappingRuleActions.createPlaceToDefaultAction() |
Convenience method to create an action which places the application to the
DEFAULT queue.
|
static MappingRuleAction |
MappingRuleActions.createPlaceToQueueAction(java.lang.String queue,
boolean allowCreate) |
Convenience method to create an action which places the application to a
queue.
|
static MappingRuleAction |
MappingRuleActions.createRejectAction() |
Convenience method to create an action rejects the application.
|
static MappingRuleAction |
MappingRuleActions.createUpdateDefaultAction(java.lang.String queue) |
Convenience method to create an action which changes the default queue.
|
MappingRuleAction |
MappingRuleAction.setFallbackDefaultPlacement() |
Sets the fallback method to place to default, if the action cannot be
executed.
|
MappingRuleAction |
MappingRuleActionBase.setFallbackDefaultPlacement() |
Sets the fallback method to place to default, if the action cannot be
executed the application will be placed into the default queue, if the
default queue does not exist the application will get rejected.
|
MappingRuleAction |
MappingRuleAction.setFallbackReject() |
Sets the fallback method to reject, if the action cannot be executed the
application will get rejected.
|
MappingRuleAction |
MappingRuleActionBase.setFallbackReject() |
Sets the fallback method to reject, if the action cannot be executed the
application will get rejected.
|
MappingRuleAction |
MappingRuleAction.setFallbackSkip() |
Sets the fallback method to skip, if the action cannot be executed
We move onto the next rule, ignoring this one.
|
MappingRuleAction |
MappingRuleActionBase.setFallbackSkip() |
Sets the fallback method to skip, if the action cannot be executed
We move onto the next rule, ignoring this one.
|
| Constructor | Description |
|---|---|
MappingRule(MappingRuleMatcher matcher,
MappingRuleAction action) |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.