Package | Description |
---|---|
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 and Description |
---|---|
static PlacementConstraintParser.SourceTags |
PlacementConstraintParser.SourceTags.emptySourceTags() |
static PlacementConstraintParser.SourceTags |
PlacementConstraintParser.SourceTags.parseFrom(String expr)
Parses source tags from expression "sourceTags(numOfAllocations)".
|
Modifier and Type | Method and Description |
---|---|
static Map<PlacementConstraintParser.SourceTags,PlacementConstraint> |
PlacementConstraintParser.parsePlacementSpec(String expression)
Parses a placement constraint specification.
|
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.