Uses of Interface
org.apache.hadoop.yarn.server.resourcemanager.placement.csmappingrule.MappingRuleAction
Packages that use MappingRuleAction
-
Uses of MappingRuleAction in org.apache.hadoop.yarn.server.resourcemanager.placement.csmappingrule
Classes in org.apache.hadoop.yarn.server.resourcemanager.placement.csmappingrule that implement MappingRuleActionModifier and TypeClassDescriptionclassThis 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 classPlaceToQueueAction 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 classRejectAction 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 classVariableUpdateAction represents the action which alters one of the mutable variables in the variable context, but doesn't do anything with the application.Methods in org.apache.hadoop.yarn.server.resourcemanager.placement.csmappingrule that return MappingRuleActionModifier and TypeMethodDescriptionstatic MappingRuleActionMappingRuleActions.createPlaceToDefaultAction()Convenience method to create an action which places the application to the DEFAULT queue.static MappingRuleActionMappingRuleActions.createPlaceToQueueAction(String queue, boolean allowCreate) Convenience method to create an action which places the application to a queue.static MappingRuleActionMappingRuleActions.createRejectAction()Convenience method to create an action rejects the application.static MappingRuleActionMappingRuleActions.createUpdateDefaultAction(String queue) Convenience method to create an action which changes the default queue.MappingRuleAction.setFallbackDefaultPlacement()Sets the fallback method to place to default, if the action cannot be executed.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.setFallbackReject()Sets the fallback method to reject, if the action cannot be executed the application will get rejected.MappingRuleActionBase.setFallbackReject()Sets the fallback method to reject, if the action cannot be executed the application will get rejected.MappingRuleAction.setFallbackSkip()Sets the fallback method to skip, if the action cannot be executed We move onto the next rule, ignoring this one.MappingRuleActionBase.setFallbackSkip()Sets the fallback method to skip, if the action cannot be executed We move onto the next rule, ignoring this one.Constructors in org.apache.hadoop.yarn.server.resourcemanager.placement.csmappingrule with parameters of type MappingRuleAction