Modifier and Type | Method and Description |
---|---|
static boolean |
SchedulerUtils.checkResourceRequestMatchingNodePartition(String requestedPartition,
String nodePartition,
SchedulingMode schedulingMode) |
static boolean |
SchedulerUtils.hasPendingResourceRequest(org.apache.hadoop.yarn.util.resource.ResourceCalculator rc,
ResourceUsage usage,
String nodePartition,
org.apache.hadoop.yarn.api.records.Resource cluster,
SchedulingMode schedulingMode) |
boolean |
SchedulerApplicationAttempt.hasPendingResourceRequest(org.apache.hadoop.yarn.util.resource.ResourceCalculator rc,
String nodePartition,
org.apache.hadoop.yarn.api.records.Resource cluster,
SchedulingMode schedulingMode) |
Modifier and Type | Method and Description |
---|---|
static SchedulingMode |
SchedulingMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SchedulingMode[] |
SchedulingMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
CSAssignment |
ParentQueue.assignContainers(org.apache.hadoop.yarn.api.records.Resource clusterResource,
FiCaSchedulerNode node,
ResourceLimits resourceLimits,
SchedulingMode schedulingMode) |
CSAssignment |
LeafQueue.assignContainers(org.apache.hadoop.yarn.api.records.Resource clusterResource,
FiCaSchedulerNode node,
ResourceLimits currentResourceLimits,
SchedulingMode schedulingMode) |
CSAssignment |
CSQueue.assignContainers(org.apache.hadoop.yarn.api.records.Resource clusterResource,
FiCaSchedulerNode node,
ResourceLimits resourceLimits,
SchedulingMode schedulingMode)
Assign containers to applications in the queue or it's children (if any).
|
org.apache.hadoop.yarn.api.records.Resource |
LeafQueue.getResourceLimitForAllUsers(String userName,
org.apache.hadoop.yarn.api.records.Resource clusterResource,
String partition,
SchedulingMode schedulingMode) |
Modifier and Type | Method and Description |
---|---|
CSAssignment |
RegularContainerAllocator.assignContainers(org.apache.hadoop.yarn.api.records.Resource clusterResource,
FiCaSchedulerNode node,
SchedulingMode schedulingMode,
ResourceLimits resourceLimits,
RMContainer reservedContainer) |
CSAssignment |
IncreaseContainerAllocator.assignContainers(org.apache.hadoop.yarn.api.records.Resource clusterResource,
FiCaSchedulerNode node,
SchedulingMode schedulingMode,
ResourceLimits resourceLimits,
RMContainer reservedContainer) |
CSAssignment |
ContainerAllocator.assignContainers(org.apache.hadoop.yarn.api.records.Resource clusterResource,
FiCaSchedulerNode node,
SchedulingMode schedulingMode,
ResourceLimits resourceLimits,
RMContainer reservedContainer) |
abstract CSAssignment |
AbstractContainerAllocator.assignContainers(org.apache.hadoop.yarn.api.records.Resource clusterResource,
FiCaSchedulerNode node,
SchedulingMode schedulingMode,
ResourceLimits resourceLimits,
RMContainer reservedContainer)
allocate needs to handle following stuffs:
Select request: Select a request to allocate.
|
Modifier and Type | Method and Description |
---|---|
CSAssignment |
FiCaSchedulerApp.assignContainers(org.apache.hadoop.yarn.api.records.Resource clusterResource,
FiCaSchedulerNode node,
ResourceLimits currentResourceLimits,
SchedulingMode schedulingMode,
RMContainer reservedContainer) |
Copyright © 2017 Apache Software Foundation. All Rights Reserved.