@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 |
getNumNodeManagers()
Get the number of
NodeManagers in the cluster. |
public YarnClusterMetrics()
@InterfaceAudience.Public @InterfaceStability.Stable public abstract int getNumNodeManagers()
NodeManagers in the cluster.NodeManagers in the clusterCopyright © 2017 Apache Software Foundation. All rights reserved.