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();
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&