Package | Description |
---|---|
org.apache.hadoop.yarn.server.scheduler |
Utility classes used for Scheduling.
|
Modifier and Type | Class and Description |
---|---|
class |
ResourceRequestSetKey
The scheduler key for a group of
ResourceRequest . |
Modifier and Type | Method and Description |
---|---|
static SchedulerRequestKey |
SchedulerRequestKey.create(org.apache.hadoop.yarn.api.records.ResourceRequest req)
Factory method to generate a SchedulerRequestKey from a ResourceRequest.
|
static SchedulerRequestKey |
SchedulerRequestKey.create(org.apache.hadoop.yarn.api.records.UpdateContainerRequest req,
SchedulerRequestKey schedulerRequestKey) |
static SchedulerRequestKey |
SchedulerRequestKey.extractFrom(org.apache.hadoop.yarn.api.records.Container container)
Convenience method to extract the SchedulerRequestKey used to schedule the
Container.
|
Modifier and Type | Method and Description |
---|---|
TreeMap<SchedulerRequestKey,Map<org.apache.hadoop.yarn.api.records.Resource,org.apache.hadoop.yarn.server.scheduler.OpportunisticContainerAllocator.EnrichedResourceRequest>> |
OpportunisticContainerContext.getOutstandingOpReqs() |
Modifier and Type | Method and Description |
---|---|
int |
SchedulerRequestKey.compareTo(SchedulerRequestKey o) |
int |
ResourceRequestSetKey.compareTo(SchedulerRequestKey other) |
static SchedulerRequestKey |
SchedulerRequestKey.create(org.apache.hadoop.yarn.api.records.UpdateContainerRequest req,
SchedulerRequestKey schedulerRequestKey) |
Copyright © 2022 Apache Software Foundation. All rights reserved.