Class ClusterStatus
====================================================================
ClusterStatus
provides clients with information such as:
- Size of the cluster.
- Name of the trackers.
- Task capacity of the cluster.
- The number of currently running map and reduce tasks.
- State of the
JobTracker
. - Details regarding black listed trackers.
-----------------------------------------------------------------------------------------------------------------------
ClusterStatus clusterStatus = new JobClient(new JobConf()).getClusterStatus();
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
Nice!
时间: 2024-10-11 11:02:55