Package | Description |
---|---|
org.apache.hadoop.yarn.nodelabels |
Modifier and Type | Class and Description |
---|---|
class |
StringAttributeValue
Attribute value for String NodeAttributeType.
|
Modifier and Type | Method and Description |
---|---|
Map<String,AttributeValue> |
RMNodeAttribute.getAssociatedNodeIds() |
abstract Map<org.apache.hadoop.yarn.api.records.NodeAttribute,AttributeValue> |
NodeAttributesManager.getAttributesForNode(String hostName)
NodeAttribute to AttributeValue Map.
|
abstract Map<org.apache.hadoop.yarn.api.records.NodeAttributeKey,Map<String,AttributeValue>> |
NodeAttributesManager.getAttributesToNodes(Set<org.apache.hadoop.yarn.api.records.NodeAttributeKey> attributes)
Return a map of Nodes to attribute value for the given NodeAttributeKeys.
|
Modifier and Type | Method and Description |
---|---|
void |
RMNodeAttribute.addNode(String node,
AttributeValue attributeValue) |
boolean |
StringAttributeValue.compareForOperation(AttributeValue other,
AttributeExpressionOperation op) |
boolean |
AttributeValue.compareForOperation(AttributeValue other,
AttributeExpressionOperation op)
compare the value against the other based on the
AttributeExpressionOperation.
|
Copyright © 2008–2019 Apache Software Foundation. All rights reserved.