| Package | Description | 
|---|---|
| org.apache.hadoop.yarn.api.records | |
| org.apache.hadoop.yarn.api.resource | API related to resources. | 
| Modifier and Type | Method and Description | 
|---|---|
| static NodeAttributeOpCode | NodeAttributeOpCode. valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static NodeAttributeOpCode[] | NodeAttributeOpCode. values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
| Modifier and Type | Method and Description | 
|---|---|
| static org.apache.hadoop.yarn.api.resource.PlacementConstraint.AbstractConstraint | PlacementConstraints. targetNodeAttribute(String scope,
                   NodeAttributeOpCode opCode,
                   org.apache.hadoop.yarn.api.resource.PlacementConstraint.TargetExpression... targetExpressions)Creates a constraint that requires allocations to be placed on nodes that
 belong to a scope (e.g., node or rack) that satisfy any of the
 target expressions based on node attribute op code. | 
Copyright © 2023 Apache Software Foundation. All rights reserved.