org.apache.hadoop.yarn.api.records
Interface NodeHealthStatus


@InterfaceAudience.Public
@InterfaceStability.Stable
public interface NodeHealthStatus

NodeHealthStatus is a summary of the health status of the node.

It includes information such as:

See Also:
NodeReport, ClientRMProtocol.getClusterNodes(org.apache.hadoop.yarn.api.protocolrecords.GetClusterNodesRequest)

Method Summary
 String getHealthReport()
          Get the diagnostic health report of the node.
 boolean getIsNodeHealthy()
          Is the node healthy?
 long getLastHealthReportTime()
          Get the last timestamp at which the health report was received.
 

Method Detail

getIsNodeHealthy

@InterfaceAudience.Public
@InterfaceStability.Stable
boolean getIsNodeHealthy()
Is the node healthy?

Returns:
true if the node is healthy, else false

getHealthReport

@InterfaceAudience.Public
@InterfaceStability.Stable
String getHealthReport()
Get the diagnostic health report of the node.

Returns:
diagnostic health report of the node

getLastHealthReportTime

@InterfaceAudience.Public
@InterfaceStability.Stable
long getLastHealthReportTime()
Get the last timestamp at which the health report was received.

Returns:
last timestamp at which the health report was received


Copyright © 2013 Apache Software Foundation. All Rights Reserved.