@InterfaceAudience.Public @InterfaceStability.Stable public abstract class YarnClusterMetrics extends Object
YarnClusterMetrics represents cluster metrics.
Currently only number of NodeManagers is provided.
| Constructor and Description | 
|---|
| YarnClusterMetrics() | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract int | getNumActiveNodeManagers()Get the number of  ActiveNodeManagers in the cluster. | 
| abstract int | getNumDecommissionedNodeManagers()Get the number of  DecommissionedNodeManagers in the cluster. | 
| abstract int | getNumLostNodeManagers()Get the number of  LostNodeManagers in the cluster. | 
| abstract int | getNumNodeManagers()Get the number of  NodeManagers in the cluster. | 
| abstract int | getNumRebootedNodeManagers()Get the number of  RebootedNodeManagers in the cluster. | 
| abstract int | getNumUnhealthyNodeManagers()Get the number of  UnhealthyNodeManagers in the cluster. | 
@InterfaceAudience.Public @InterfaceStability.Stable public abstract int getNumNodeManagers()
NodeManagers in the cluster.NodeManagers in the cluster@InterfaceAudience.Public @InterfaceStability.Unstable public abstract int getNumDecommissionedNodeManagers()
DecommissionedNodeManagers in the cluster.DecommissionedNodeManagers in the cluster@InterfaceAudience.Public @InterfaceStability.Unstable public abstract int getNumActiveNodeManagers()
ActiveNodeManagers in the cluster.ActiveNodeManagers in the cluster@InterfaceAudience.Public @InterfaceStability.Unstable public abstract int getNumLostNodeManagers()
LostNodeManagers in the cluster.LostNodeManagers in the cluster@InterfaceAudience.Public @InterfaceStability.Unstable public abstract int getNumUnhealthyNodeManagers()
UnhealthyNodeManagers in the cluster.UnhealthyNodeManagers in the cluster@InterfaceAudience.Public @InterfaceStability.Unstable public abstract int getNumRebootedNodeManagers()
RebootedNodeManagers in the cluster.RebootedNodeManagers in the clusterCopyright © 2017 Apache Software Foundation. All rights reserved.