Class GetAttributesToNodesRequest
java.lang.Object
org.apache.hadoop.yarn.api.protocolrecords.GetAttributesToNodesRequest
The request from clients to get node to attribute value mapping for all or
given set of Node AttributeKey's in the cluster from the
ResourceManager.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Set<NodeAttributeKey>Get node attributeKeys for which mapping of hostname to attribute value is required.static GetAttributesToNodesRequeststatic GetAttributesToNodesRequestnewInstance(Set<NodeAttributeKey> attributes) abstract voidsetNodeAttributes(Set<NodeAttributeKey> attributes) Set node attributeKeys for which the mapping of hostname to attribute value is required.
-
Constructor Details
-
GetAttributesToNodesRequest
public GetAttributesToNodesRequest()
-
-
Method Details
-
newInstance
-
newInstance
-
setNodeAttributes
Set node attributeKeys for which the mapping of hostname to attribute value is required.- Parameters:
attributes- Set of NodeAttributeKey provided.
-
getNodeAttributes
Get node attributeKeys for which mapping of hostname to attribute value is required.- Returns:
- Set of NodeAttributeKey
-