Class GetNodesToAttributesResponse
java.lang.Object
org.apache.hadoop.yarn.api.protocolrecords.GetNodesToAttributesResponse
The response sent by the ResourceManager to a client requesting
nodes to attributes mapping.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Map<String,Set<NodeAttribute>> Get hostnames to NodeAttributes mapping.static GetNodesToAttributesResponsenewInstance(Map<String, Set<NodeAttribute>> map) abstract voidsetNodeToAttributes(Map<String, Set<NodeAttribute>> map)
-
Constructor Details
-
GetNodesToAttributesResponse
public GetNodesToAttributesResponse()
-
-
Method Details
-
newInstance
-
setNodeToAttributes
-
getNodeToAttributes
Get hostnames to NodeAttributes mapping.- Returns:
- Map of host to attributes.
-