Package | Description |
---|---|
org.apache.hadoop.yarn.server.resourcemanager.placement | |
org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity |
Modifier and Type | Class and Description |
---|---|
class |
AppNameMappingPlacementRule |
class |
DefaultPlacementRule
Places apps in the specified default queue.
|
class |
FSPlacementRule
Abstract base for all
FairScheduler Placement Rules. |
class |
PrimaryGroupPlacementRule
Places apps in queues by the primary group of the submitter.
|
class |
RejectPlacementRule
Rejects all placements.
|
class |
SecondaryGroupExistingPlacementRule
Places apps in queues by the secondary group of the submitter, if the
submitter is a member of more than one group.
|
class |
SpecifiedPlacementRule
Places apps in queues by requested queue of the submitter.
|
class |
UserGroupMappingPlacementRule |
class |
UserPlacementRule
Places apps in queues by username of the submitter.
|
Modifier and Type | Method and Description |
---|---|
PlacementRule |
FSPlacementRule.getParentRule()
Get the rule that is set to generate the parent queue dynamically.
|
static PlacementRule |
PlacementFactory.getPlacementRule(Class<? extends PlacementRule> ruleClass,
Object initArg)
Create a new
PlacementRule based on the rule class from the
configuration. |
static PlacementRule |
PlacementFactory.getPlacementRule(String ruleStr,
org.apache.hadoop.conf.Configuration conf)
Create a new
PlacementRule based on the rule class from the
configuration. |
Modifier and Type | Method and Description |
---|---|
List<PlacementRule> |
PlacementManager.getPlacementRules() |
Modifier and Type | Method and Description |
---|---|
void |
FSPlacementRule.setParentRule(PlacementRule parent)
Set a rule to generate the parent queue dynamically.
|
Modifier and Type | Method and Description |
---|---|
static PlacementRule |
PlacementFactory.getPlacementRule(Class<? extends PlacementRule> ruleClass,
Object initArg)
Create a new
PlacementRule based on the rule class from the
configuration. |
void |
PlacementManager.updateRules(List<PlacementRule> rules) |
Modifier and Type | Method and Description |
---|---|
PlacementRule |
CapacityScheduler.getAppNameMappingPlacementRule() |
PlacementRule |
CapacityScheduler.getUserGroupMappingPlacementRule() |
Copyright © 2008–2020 Apache Software Foundation. All rights reserved.