Package | Description |
---|---|
org.apache.hadoop.yarn.server.resourcemanager.placement.csmappingrule |
Modifier and Type | Class and Description |
---|---|
class |
MappingRuleValidationContextImpl |
Modifier and Type | Method and Description |
---|---|
void |
MappingRuleAction.validate(MappingRuleValidationContext ctx)
This method is responsible for config validation, the context contains all
information required for validation, method should throw an exception on
detectable setup errors.
|
void |
MappingRule.validate(MappingRuleValidationContext ctx) |
void |
MappingRuleActions.PlaceToQueueAction.validate(MappingRuleValidationContext ctx)
This method is responsible for config validation, we use the validation
context's helper method to validate if our path is valid.
|
void |
MappingRuleActions.RejectAction.validate(MappingRuleValidationContext ctx)
Reject action is always valid, so it is just an empty implementation
of the defined interface method.
|
void |
MappingRuleActions.VariableUpdateAction.validate(MappingRuleValidationContext ctx)
During the validation process we add the variable set by this action
to the known variables, to make sure the context is aware that we might
introduce a new custom variable.
|
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.