Class GetAttributesToNodesResponse
java.lang.Object
org.apache.hadoop.yarn.api.protocolrecords.GetAttributesToNodesResponse
The response sent by the ResourceManager to a client requesting
node to attribute value mapping for all or given set of Node AttributeKey's.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Map<NodeAttributeKey,List<NodeToAttributeValue>> Get mapping of NodeAttributeKey to its associated mapping of list of NodeToAttributeValue associated with attribute.static GetAttributesToNodesResponseabstract void
-
Constructor Details
-
GetAttributesToNodesResponse
public GetAttributesToNodesResponse()
-
-
Method Details
-
newInstance
public static GetAttributesToNodesResponse newInstance(Map<NodeAttributeKey, List<NodeToAttributeValue>> map) -
setAttributeToNodes
@Public @Evolving public abstract void setAttributeToNodes(Map<NodeAttributeKey, List<NodeToAttributeValue>> map) -
getAttributesToNodes
@Public @Evolving public abstract Map<NodeAttributeKey,List<NodeToAttributeValue>> getAttributesToNodes()Get mapping of NodeAttributeKey to its associated mapping of list of NodeToAttributeValue associated with attribute.- Returns:
- Map of node attributes to list of NodeToAttributeValue.
-