NodeHealthStatusPBImpl@Public
@Stable
public abstract class NodeHealthStatus
extends java.lang.Object
NodeHealthStatus is a summary of the health status of the node.
It includes information such as:
NodeReport,
ApplicationClientProtocol.getClusterNodes(org.apache.hadoop.yarn.api.protocolrecords.GetClusterNodesRequest)| Constructor | Description |
|---|---|
NodeHealthStatus() |
| Modifier and Type | Method | Description |
|---|---|---|
abstract java.lang.String |
getHealthReport() |
Get the diagnostic health report of the node.
|
abstract boolean |
getIsNodeHealthy() |
Is the node healthy?
|
abstract long |
getLastHealthReportTime() |
Get the last timestamp at which the health report was received.
|
static NodeHealthStatus |
newInstance(boolean isNodeHealthy,
java.lang.String healthReport,
long lastHealthReport) |
|
abstract void |
setHealthReport(java.lang.String healthReport) |
|
abstract void |
setIsNodeHealthy(boolean isNodeHealthy) |
|
abstract void |
setLastHealthReportTime(long lastHealthReport) |
@Private public static NodeHealthStatus newInstance(boolean isNodeHealthy, java.lang.String healthReport, long lastHealthReport)
@Public @Stable public abstract boolean getIsNodeHealthy()
true if the node is healthy, else false@Private @Unstable public abstract void setIsNodeHealthy(boolean isNodeHealthy)
@Public @Stable public abstract java.lang.String getHealthReport()
@Private @Unstable public abstract void setHealthReport(java.lang.String healthReport)
@Public @Stable public abstract long getLastHealthReportTime()
@Private @Unstable public abstract void setLastHealthReportTime(long lastHealthReport)
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.