org.apache.hadoop.yarn.api.records
Interface YarnClusterMetrics


@InterfaceAudience.Public
@InterfaceStability.Stable
public interface YarnClusterMetrics

YarnClusterMetrics represents cluster metrics.

Currently only number of NodeManagers is provided.


Method Summary
 int getNumNodeManagers()
          Get the number of NodeManagers in the cluster.
 

Method Detail

getNumNodeManagers

@InterfaceAudience.Public
@InterfaceStability.Stable
int getNumNodeManagers()
Get the number of NodeManagers in the cluster.

Returns:
number of NodeManagers in the cluster


Copyright © 2012 Apache Software Foundation. All Rights Reserved.