| Package | Description | 
|---|---|
| org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair | |
| org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.allocation | 
| Modifier and Type | Method and Description | 
|---|---|
| ConfigurableResource | FSQueue. getMaxChildQueueResource() | 
| ConfigurableResource | FSQueue. getRawMaxShare() | 
| static ConfigurableResource | FairSchedulerConfiguration. parseResourceConfigValue(String value)Parses a resource config value in one of three forms:
 
 Percentage: "50%" or "40% memory, 60% cpu"
 New style resources: "vcores=10, memory-mb=1024"
 or "vcores=60%, memory-mb=40%"
 Old style resources: "1024 mb, 10 vcores"
 
 In new style resources, any resource that is not specified will be
 set to  Long.MAX_VALUEor 100%, as appropriate. | 
| static ConfigurableResource | FairSchedulerConfiguration. parseResourceConfigValue(String value,
                        long missing)Parses a resource config value in one of three forms:
 
 Percentage: "50%" or "40% memory, 60% cpu"
 New style resources: "vcores=10, memory-mb=1024"
 or "vcores=60%, memory-mb=40%"
 Old style resources: "1024 mb, 10 vcores"
 
 In new style resources, any resource that is not specified will be
 set to  missingor 0%, as appropriate. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | FSQueue. setMaxChildQueueResource(ConfigurableResource maxChildShare) | 
| void | FSQueue. setMaxShare(ConfigurableResource maxShare) | 
| Modifier and Type | Method and Description | 
|---|---|
| ConfigurableResource | AllocationFileParser. getQueueMaxResourcesDefault() | 
| Modifier and Type | Method and Description | 
|---|---|
| Map<String,ConfigurableResource> | QueueProperties. getMaxChildQueueResources() | 
| Map<String,ConfigurableResource> | QueueProperties. getMaxQueueResources() | 
| Map<String,ConfigurableResource> | QueueProperties.Builder. getMaxQueueResources() | 
| Modifier and Type | Method and Description | 
|---|---|
| QueueProperties.Builder | QueueProperties.Builder. maxChildQueueResources(String queueName,
                      ConfigurableResource resource) | 
| QueueProperties.Builder | QueueProperties.Builder. maxQueueResources(String queueName,
                 ConfigurableResource resource) | 
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.