Package | Description |
---|---|
org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair |
Modifier and Type | Method and Description |
---|---|
static QueuePlacementRule |
QueuePlacementPolicy.createAndInitializeRule(Node node)
Create and initialize a rule given a xml node
|
static QueuePlacementPolicy |
QueuePlacementPolicy.fromXml(Element el,
Map<FSQueueType,Set<String>> configuredQueues,
org.apache.hadoop.conf.Configuration conf)
Builds a QueuePlacementPolicy from an xml element.
|
void |
QueueManager.initialize(org.apache.hadoop.conf.Configuration conf) |
void |
QueuePlacementRule.initializeFromXml(Element el) |
void |
QueuePlacementRule.NestedUserQueue.initializeFromXml(Element el)
Parse xml and instantiate the nested rule
|
void |
QueuePlacementRule.Default.initializeFromXml(Element el) |
static SchedulingPolicy |
SchedulingPolicy.parse(String policy)
Returns
SchedulingPolicy instance corresponding to the
SchedulingPolicy passed as a string. |
static org.apache.hadoop.yarn.api.records.Resource |
FairSchedulerConfiguration.parseResourceConfigValue(String val)
Parses a resource config value of a form like "1024", "1024 mb",
or "1024 mb, 3 vcores".
|
void |
AllocationFileLoaderService.reloadAllocations()
Updates the allocation list from the allocation config file.
|
abstract void |
FSQueue.setPolicy(SchedulingPolicy policy) |
void |
FSParentQueue.setPolicy(SchedulingPolicy policy) |
void |
FSLeafQueue.setPolicy(SchedulingPolicy policy) |
protected void |
FSQueue.throwPolicyDoesnotApplyException(SchedulingPolicy policy) |
Constructor and Description |
---|
QueuePlacementPolicy(List<QueuePlacementRule> rules,
Map<FSQueueType,Set<String>> configuredQueues,
org.apache.hadoop.conf.Configuration conf) |
Copyright © 2017 Apache Software Foundation. All Rights Reserved.