org.apache.hadoop.yarn.api.records
Class YarnClusterMetrics
java.lang.Object
org.apache.hadoop.yarn.api.records.YarnClusterMetrics
@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract class YarnClusterMetrics
- extends Object
YarnClusterMetrics
represents cluster metrics.
Currently only number of NodeManager
s is provided.
Method Summary |
abstract int |
getNumNodeManagers()
Get the number of NodeManager s in the cluster. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
YarnClusterMetrics
public YarnClusterMetrics()
getNumNodeManagers
@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract int getNumNodeManagers()
- Get the number of
NodeManager
s in the cluster.
- Returns:
- number of
NodeManager
s in the cluster
Copyright © 2014 Apache Software Foundation. All Rights Reserved.