@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. |
static YarnClusterMetrics |
newInstance(int numNodeManagers) |
abstract void |
setNumNodeManagers(int numNodeManagers) |
@InterfaceAudience.Private @InterfaceStability.Unstable public static YarnClusterMetrics newInstance(int numNodeManagers)
@InterfaceAudience.Public @InterfaceStability.Stable public abstract int getNumNodeManagers()
NodeManagers in the cluster.NodeManagers in the cluster@InterfaceAudience.Private @InterfaceStability.Unstable public abstract void setNumNodeManagers(int numNodeManagers)
Copyright © 2018 CERN. All Rights Reserved.