## Uses of Class
org.apache.hadoop.yarn.api.records.NodeReport

- Packages that use NodeReport
  Package | Description
  --- | ---
  org.apache.hadoop.yarn.api.protocolrecords |
  org.apache.hadoop.yarn.api.records |

- - ### Uses of NodeReport in org.apache.hadoop.yarn.api.protocolrecords

    Methods in org.apache.hadoop.yarn.api.protocolrecords that return types with arguments of type NodeReport
    Modifier and Type | Method and Description
    --- | ---
    `abstract List<NodeReport>` | GetClusterNodesResponse.`getNodeReports()` Get `NodeReport` for all nodes in the cluster.
    `abstract List<NodeReport>` | AllocateResponse.`getUpdatedNodes()` Get the list of updated `NodeReport`s.

    Method parameters in org.apache.hadoop.yarn.api.protocolrecords with type arguments of type NodeReport
    Modifier and Type | Method and Description
    --- | ---
    `static AllocateResponse` | AllocateResponse.`newInstance(int responseId, List<ContainerStatus> completedContainers, List<Container> allocatedContainers, List<NodeReport> updatedNodes, Resource availResources, AMCommand command, int numClusterNodes, PreemptionMessage preempt, List<NMToken> nmTokens)`
    `static AllocateResponse` | AllocateResponse.`newInstance(int responseId, List<ContainerStatus> completedContainers, List<Container> allocatedContainers, List<NodeReport> updatedNodes, Resource availResources, AMCommand command, int numClusterNodes, PreemptionMessage preempt, List<NMToken> nmTokens, CollectorInfo collectorInfo)`
    `static AllocateResponse` | AllocateResponse.`newInstance(int responseId, List<ContainerStatus> completedContainers, List<Container> allocatedContainers, List<NodeReport> updatedNodes, Resource availResources, AMCommand command, int numClusterNodes, PreemptionMessage preempt, List<NMToken> nmTokens, Token amRMToken, List<UpdatedContainer> updatedContainers)`
    `static AllocateResponse` | AllocateResponse.`newInstance(int responseId, List<ContainerStatus> completedContainers, List<Container> allocatedContainers, List<NodeReport> updatedNodes, Resource availResources, AMCommand command, int numClusterNodes, PreemptionMessage preempt, List<NMToken> nmTokens, Token amRMToken, List<UpdatedContainer> updatedContainers, CollectorInfo collectorInfo)`
    `static GetClusterNodesResponse` | GetClusterNodesResponse.`newInstance(List<NodeReport> nodeReports)`
    `abstract void` | GetClusterNodesResponse.`setNodeReports(List<NodeReport> nodeReports)`
    `abstract void` | AllocateResponse.`setUpdatedNodes(List<NodeReport> updatedNodes)`
    `AllocateResponse.AllocateResponseBuilder` | AllocateResponse.AllocateResponseBuilder.`updatedNodes(List<NodeReport> updatedNodes)` Set the `updatedNodes` of the response.

  - ### Uses of NodeReport in org.apache.hadoop.yarn.api.records

    Methods in org.apache.hadoop.yarn.api.records that return NodeReport
    Modifier and Type | Method and Description
    --- | ---
    `static NodeReport` | NodeReport.`newInstance(NodeId nodeId, NodeState nodeState, String httpAddress, String rackName, Resource used, Resource capability, int numContainers, String healthReport, long lastHealthReportTime)`
    `static NodeReport` | NodeReport.`newInstance(NodeId nodeId, NodeState nodeState, String httpAddress, String rackName, Resource used, Resource capability, int numContainers, String healthReport, long lastHealthReportTime, Set<String> nodeLabels, Integer decommissioningTimeout, NodeUpdateType nodeUpdateType)`

Copyright © 2008–2022 Apache Software Foundation. All rights reserved.