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 | Class and Description |
---|---|
static class |
PlacementConstraintParser.BaseStringTokenizer
A basic tokenizer that splits an expression by a given delimiter.
|
static class |
PlacementConstraintParser.ConjunctionTokenizer
Tokenizer used to parse conjunction form of a constraint expression,
[AND|OR](C1:C2:...:Cn).
|
static class |
PlacementConstraintParser.MultipleConstraintsTokenizer
Tokenizer used to handle a placement spec composed by multiple
constraint expressions.
|
static class |
PlacementConstraintParser.SourceTagsTokenizer
Tokenizer used to parse allocation tags expression, which should be
in tag(numOfAllocations) syntax.
|
Constructor and Description |
---|
ConstraintParser(PlacementConstraintParser.ConstraintTokenizer tk) |
Copyright © 2008–2021 Apache Software Foundation. All rights reserved.