Package | Description |
---|---|
org.apache.hadoop.yarn.server.resourcemanager.placement.csmappingrule |
Modifier and Type | Class and 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 and Description |
---|---|
static MappingRuleMatcher |
MappingRuleMatchers.createAllMatcher()
Convenience method to create a matcher that matches all
|
static MappingRuleMatcher |
MappingRuleMatchers.createApplicationNameMatcher(String name)
Convenience method to create a variable matcher which matches against the
submitted application's name.
|
static MappingRuleMatcher |
MappingRuleMatchers.createUserGroupMatcher(String groupName)
Convenience method to create a group matcher which matches against the
groups of the user.
|
static MappingRuleMatcher |
MappingRuleMatchers.createUserGroupMatcher(String userName,
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(String userName)
Convenience method to create a variable matcher which matches against the
username.
|
Constructor and Description |
---|
MappingRule(MappingRuleMatcher matcher,
MappingRuleAction action) |
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.