Package | Description |
---|---|
org.apache.hadoop.yarn.server.resourcemanager.placement.csmappingrule |
Modifier and Type | Method and Description |
---|---|
static MappingRuleResult |
MappingRuleResult.createDefaultPlacementResult()
Generator method for default placement results.
|
static MappingRuleResult |
MappingRuleResult.createPlacementResult(String queue,
boolean allowCreate)
Generator method for place results.
|
static MappingRuleResult |
MappingRuleResult.createRejectResult()
Generator method for reject results.
|
static MappingRuleResult |
MappingRuleResult.createSkipResult()
Generator method for skip results.
|
MappingRuleResult |
MappingRule.evaluate(VariableContext variables)
This method evaluates the rule, and returns the MappingRuleResult, if
the rule matches, skip action otherwise.
|
MappingRuleResult |
MappingRuleAction.execute(VariableContext variables)
This method is the main logic of the action, it shall determine based on
the mapping context, what should be the action's result.
|
abstract MappingRuleResult |
MappingRuleActionBase.execute(VariableContext variables)
This method is the main logic of the action, it shall determine based on
the mapping context, what should be the action's result.
|
MappingRuleResult |
MappingRuleActions.PlaceToQueueAction.execute(VariableContext variables)
This method is the main logic of the action, it will replace all the
variables in the queuePattern with their respective values, then returns
a placementResult with the final queue name.
|
MappingRuleResult |
MappingRuleActions.RejectAction.execute(VariableContext variables)
Reject action will unconditionally return a reject result.
|
MappingRuleResult |
MappingRuleActions.VariableUpdateAction.execute(VariableContext variables)
This execute is a bit special, compared to other actions, since it does
not affect the placement of the application, but changes the variable
context.
|
MappingRuleResult |
MappingRuleAction.getFallback()
Returns the fallback action to be taken if the main action (result returned
by the execute method) fails.
|
MappingRuleResult |
MappingRuleActionBase.getFallback()
Returns the fallback action to be taken if the main action (result returned
by the execute method) fails.
|
MappingRuleResult |
MappingRule.getFallback()
Returns the associated action's fallback.
|
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.