| Package | Description | 
|---|---|
| org.apache.hadoop.yarn.api.protocolrecords | |
| org.apache.hadoop.yarn.api.records | |
| org.apache.hadoop.yarn.client.api | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract Map<String,Set<NodeAttribute>> | GetNodesToAttributesResponse. getNodeToAttributes()Get hostnames to NodeAttributes mapping. | 
| Modifier and Type | Method and Description | 
|---|---|
| static GetNodesToAttributesResponse | GetNodesToAttributesResponse. newInstance(Map<String,Set<NodeAttribute>> map) | 
| abstract void | GetNodesToAttributesResponse. setNodeToAttributes(Map<String,Set<NodeAttribute>> map) | 
| Modifier and Type | Method and Description | 
|---|---|
| static NodeAttribute | NodeAttribute. newInstance(String attributeName,
           NodeAttributeType attributeType,
           String attributeValue) | 
| static NodeAttribute | NodeAttribute. newInstance(String attributePrefix,
           String attributeName,
           NodeAttributeType attributeType,
           String attributeValue) | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract Set<NodeAttribute> | NodeReport. getNodeAttributes()Get node attributes of node. | 
| Modifier and Type | Method and Description | 
|---|---|
| static NodeAttributeInfo | NodeAttributeInfo. newInstance(NodeAttribute nodeAttribute) | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract void | NodeReport. setNodeAttributes(Set<NodeAttribute> nodeAttributes)Set the node attributes of node. | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract Map<String,Set<NodeAttribute>> | YarnClient. getNodeToAttributes(Set<String> hostNames)
 The interface used by client to get all node to attribute mapping in
 existing cluster. | 
Copyright © 2023 Apache Software Foundation. All rights reserved.