@InterfaceAudience.Public @InterfaceStability.Stable public abstract class YarnClusterMetrics extends Object
YarnClusterMetrics
represents cluster metrics.
Currently only number of NodeManager
s is provided.
Constructor and Description |
---|
YarnClusterMetrics() |
Modifier and Type | Method and Description |
---|---|
abstract int |
getNumActiveNodeManagers()
Get the number of
ActiveNodeManager s in the cluster. |
abstract int |
getNumDecommissionedNodeManagers()
Get the number of
DecommissionedNodeManager s in the cluster. |
abstract int |
getNumLostNodeManagers()
Get the number of
LostNodeManager s in the cluster. |
abstract int |
getNumNodeManagers()
Get the number of
NodeManager s in the cluster. |
abstract int |
getNumRebootedNodeManagers()
Get the number of
RebootedNodeManager s in the cluster. |
abstract int |
getNumUnhealthyNodeManagers()
Get the number of
UnhealthyNodeManager s in the cluster. |
@InterfaceAudience.Public @InterfaceStability.Stable public abstract int getNumNodeManagers()
NodeManager
s in the cluster.NodeManager
s in the cluster@InterfaceAudience.Public @InterfaceStability.Unstable public abstract int getNumDecommissionedNodeManagers()
DecommissionedNodeManager
s in the cluster.DecommissionedNodeManager
s in the cluster@InterfaceAudience.Public @InterfaceStability.Unstable public abstract int getNumActiveNodeManagers()
ActiveNodeManager
s in the cluster.ActiveNodeManager
s in the cluster@InterfaceAudience.Public @InterfaceStability.Unstable public abstract int getNumLostNodeManagers()
LostNodeManager
s in the cluster.LostNodeManager
s in the cluster@InterfaceAudience.Public @InterfaceStability.Unstable public abstract int getNumUnhealthyNodeManagers()
UnhealthyNodeManager
s in the cluster.UnhealthyNodeManager
s in the cluster@InterfaceAudience.Public @InterfaceStability.Unstable public abstract int getNumRebootedNodeManagers()
RebootedNodeManager
s in the cluster.RebootedNodeManager
s in the clusterCopyright © 2017 Apache Software Foundation. All rights reserved.