@InterfaceAudience.Public @InterfaceStability.Stable public abstract class NodeReport extends Object
NodeReport
is a summary of runtime information of a node
in the cluster.
It includes details such as:
Constructor and Description |
---|
NodeReport() |
Modifier and Type | Method and Description |
---|---|
ResourceUtilization |
getAggregatedContainersUtilization()
Get containers aggregated resource utilization in a node.
|
abstract Resource |
getCapability()
Get the total
Resource on the node. |
Integer |
getDecommissioningTimeout()
Optional decommissioning timeout in seconds (null indicates absent
timeout).
|
abstract String |
getHealthReport()
Get the diagnostic health report of the node.
|
abstract String |
getHttpAddress()
Get the http address of the node.
|
abstract long |
getLastHealthReportTime()
Get the last timestamp at which the health report was received.
|
abstract Set<NodeAttribute> |
getNodeAttributes()
Get node attributes of node.
|
abstract NodeId |
getNodeId()
Get the
NodeId of the node. |
abstract Set<String> |
getNodeLabels()
Get labels of this node.
|
abstract NodeState |
getNodeState()
Get the
NodeState of the node. |
org.apache.hadoop.yarn.api.records.NodeUpdateType |
getNodeUpdateType()
Optional node update type (null indicates absent update type).
|
abstract ResourceUtilization |
getNodeUtilization()
Get node resource utilization.
|
abstract String |
getRackName()
Get the rack name for the node.
|
abstract Resource |
getUsed()
Get used
Resource on the node. |
void |
setDecommissioningTimeout(Integer decommissioningTimeout)
Set the decommissioning timeout in seconds (null indicates absent timeout).
|
abstract void |
setNodeAttributes(Set<NodeAttribute> nodeAttributes)
Set the node attributes of node.
|
void |
setNodeUpdateType(org.apache.hadoop.yarn.api.records.NodeUpdateType nodeUpdateType)
Set the node update type (null indicates absent node update type).
|
@InterfaceAudience.Public @InterfaceStability.Stable public abstract NodeId getNodeId()
NodeId
of the node.NodeId
of the node@InterfaceAudience.Public @InterfaceStability.Stable public abstract NodeState getNodeState()
NodeState
of the node.NodeState
of the node@InterfaceAudience.Public @InterfaceStability.Stable public abstract String getHttpAddress()
@InterfaceAudience.Public @InterfaceStability.Stable public abstract String getRackName()
@InterfaceAudience.Public @InterfaceStability.Stable public abstract Resource getUsed()
Resource
on the node.Resource
on the node@InterfaceAudience.Public @InterfaceStability.Stable public abstract Resource getCapability()
Resource
on the node.Resource
on the node@InterfaceAudience.Public @InterfaceStability.Stable public abstract String getHealthReport()
@InterfaceAudience.Public @InterfaceStability.Stable public abstract long getLastHealthReportTime()
@InterfaceAudience.Public @InterfaceStability.Stable public abstract Set<String> getNodeLabels()
@InterfaceAudience.Public @InterfaceStability.Stable public ResourceUtilization getAggregatedContainersUtilization()
@InterfaceAudience.Public @InterfaceStability.Stable public abstract ResourceUtilization getNodeUtilization()
public Integer getDecommissioningTimeout()
public void setDecommissioningTimeout(Integer decommissioningTimeout)
decommissioningTimeout
- decommissioning time out.public org.apache.hadoop.yarn.api.records.NodeUpdateType getNodeUpdateType()
public void setNodeUpdateType(org.apache.hadoop.yarn.api.records.NodeUpdateType nodeUpdateType)
nodeUpdateType
- node update type.public abstract void setNodeAttributes(Set<NodeAttribute> nodeAttributes)
nodeAttributes
- set of node attributes.public abstract Set<NodeAttribute> getNodeAttributes()
Copyright © 2025 Apache Software Foundation. All rights reserved.