| Package | Description |
|---|---|
| org.apache.hadoop.yarn.server.resourcemanager.placement.csmappingrule |
| Modifier and Type | Class | Description |
|---|---|---|
static class |
MappingRuleMatchers.AndMatcher |
AndMatcher is a basic boolean matcher which takes multiple other
matcher as it's arguments, and on match it checks if all of them are true.
|
static class |
MappingRuleMatchers.MatchAllMatcher |
MatchAllMatcher is a matcher which matches everything.
|
static class |
MappingRuleMatchers.OrMatcher |
OrMatcher is a basic boolean matcher which takes multiple other
matcher as its arguments, and on match it checks if any of them are true.
|
static class |
MappingRuleMatchers.UserGroupMatcher |
The GroupMatcher will check if any of the user's groups match the provided
group name.
|
static class |
MappingRuleMatchers.VariableMatcher |
VariableMatcher will check if a provided variable's value matches the
provided value.
|
| Modifier and Type | Method | Description |
|---|---|---|
static MappingRuleMatcher |
MappingRuleMatchers.createAllMatcher() |
Convenience method to create a matcher that matches all
|
static MappingRuleMatcher |
MappingRuleMatchers.createApplicationNameMatcher(java.lang.String name) |
Convenience method to create a variable matcher which matches against the
submitted application's name.
|
static MappingRuleMatcher |
MappingRuleMatchers.createUserGroupMatcher(java.lang.String groupName) |
Convenience method to create a group matcher which matches against the
groups of the user.
|
static MappingRuleMatcher |
MappingRuleMatchers.createUserGroupMatcher(java.lang.String userName,
java.lang.String groupName) |
Convenience method to create a composite matcher which matches against the
user's user name and the user's primary group.
|
static MappingRuleMatcher |
MappingRuleMatchers.createUserMatcher(java.lang.String userName) |
Convenience method to create a variable matcher which matches against the
username.
|
| Constructor | Description |
|---|---|
MappingRule(MappingRuleMatcher matcher,
MappingRuleAction action) |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.