| Package | Description |
|---|---|
| org.apache.hadoop.yarn.api.protocolrecords |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
| org.apache.hadoop.yarn.api.records |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
| org.apache.hadoop.yarn.api.resource |
API related to resources.
|
| org.apache.hadoop.yarn.util.constraint |
Package org.apache.hadoop.yarn.util.constraint contains classes
which is used as utility class for placement constraints.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Map<java.util.Set<java.lang.String>,PlacementConstraint> |
RegisterApplicationMasterRequest.getPlacementConstraints() |
Return all Placement Constraints specified at the Application level.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
RegisterApplicationMasterRequest.setPlacementConstraints(java.util.Map<java.util.Set<java.lang.String>,PlacementConstraint> placementConstraints) |
Set Placement Constraints applicable to the
SchedulingRequests
of this application. |
| Modifier and Type | Method | Description |
|---|---|---|
abstract PlacementConstraint |
SchedulingRequest.getPlacementConstraint() |
| Modifier and Type | Method | Description |
|---|---|---|
static SchedulingRequest |
SchedulingRequest.newInstance(long allocationRequestId,
Priority priority,
ExecutionTypeRequest executionType,
java.util.Set<java.lang.String> allocationTags,
ResourceSizing resourceSizing,
PlacementConstraint placementConstraintExpression) |
|
SchedulingRequest.SchedulingRequestBuilder |
SchedulingRequest.SchedulingRequestBuilder.placementConstraintExpression(PlacementConstraint placementConstraintExpression) |
Set the
placementConstraintExpression of the request. |
abstract void |
SchedulingRequest.setPlacementConstraint(PlacementConstraint placementConstraint) |
| Modifier and Type | Method | Description |
|---|---|---|
PlacementConstraint |
PlacementConstraint.AbstractConstraint.build() |
|
static PlacementConstraint |
PlacementConstraints.build(PlacementConstraint.AbstractConstraint constraintExpr) |
Creates a
PlacementConstraint given a constraint expression. |
| Modifier and Type | Method | Description |
|---|---|---|
static java.util.Map<PlacementConstraintParser.SourceTags,PlacementConstraint> |
PlacementConstraintParser.parsePlacementSpec(java.lang.String expression) |
Parses a placement constraint specification.
|
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.