| Package | Description |
|---|---|
| org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity |
| Modifier and Type | Field | Description |
|---|---|---|
protected java.util.Map<java.lang.String,ResourceVector> |
ResourceCalculationDriver.batchRemainingResourcePerLabel |
|
protected java.util.Map<java.lang.String,ResourceVector> |
ResourceCalculationDriver.normalizedResourceRatioPerLabel |
|
protected java.util.Map<java.lang.String,ResourceVector> |
ResourceCalculationDriver.overallRemainingResourcePerLabel |
| Modifier and Type | Method | Description |
|---|---|---|
ResourceVector |
ResourceCalculationDriver.getBatchRemainingResource(java.lang.String label) |
Returns the remaining resources of a parent that is still available for its
children.
|
static ResourceVector |
ResourceVector.newInstance() |
Creates a new
ResourceVector with all pre-defined resources set to
zero. |
static ResourceVector |
ResourceVector.of(double value) |
Creates a new
ResourceVector with all pre-defined resources set to
the same value. |
static ResourceVector |
ResourceVector.of(org.apache.hadoop.yarn.api.records.Resource resource) |
Creates a new
ResourceVector with the values set in a
Resource object. |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Map<java.lang.String,ResourceVector> |
ResourceCalculationDriver.getNormalizedResourceRatios() |
Returns the ratio of the summary of children absolute configured resources and the parent's
effective minimum resource.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
ResourceVector.decrement(ResourceVector otherResourceVector) |
Decrements values for each resource defined in the given resource vector.
|
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.