Uses of Class
org.apache.hadoop.yarn.service.api.records.PlacementConstraint
Packages that use PlacementConstraint
-
Uses of PlacementConstraint in org.apache.hadoop.yarn.service.api.records
Methods in org.apache.hadoop.yarn.service.api.records that return PlacementConstraintModifier and TypeMethodDescriptionPlacementConstraint.maxCardinality(Long maxCardinality) When placement type is cardinality, the maximum number of containers of the depending component that a host should have, where containers of this component can be allocated on.PlacementConstraint.minCardinality(Long minCardinality) When placement type is cardinality, the minimum number of containers of the depending component that a host should have, where containers of this component can be allocated on.An optional name associated to this constraint.PlacementConstraint.nodeAttributes(Map<String, List<String>> nodeAttributes) Node attributes are a set of key:value(s) pairs associated with nodes.PlacementConstraint.nodePartitions(List<String> nodePartitions) Node partitions where the containers of this component can run.PlacementConstraint.scope(PlacementScope scope) The scope of placement.PlacementConstraint.targetTags(List<String> targetTags) The name of the components that this component's placement policy is depending upon are added as target tags.PlacementConstraint.type(PlacementType type) The type of placement.Methods in org.apache.hadoop.yarn.service.api.records that return types with arguments of type PlacementConstraintMethod parameters in org.apache.hadoop.yarn.service.api.records with type arguments of type PlacementConstraintModifier and TypeMethodDescriptionPlacementPolicy.constraints(List<PlacementConstraint> constraints) Placement constraint details.voidPlacementPolicy.setConstraints(List<PlacementConstraint> constraints)