| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.mapred.ClusterStatus
public class ClusterStatus
Status information on the current state of the Map-Reduce cluster.
ClusterStatus provides clients with information such as:
 
JobTracker.
   Clients can query for the latest ClusterStatus, via 
 JobClient.getClusterStatus().
JobClient| Method Summary | |
|---|---|
 JobTracker.State | 
getJobTrackerState()
Get the current state of the JobTracker, 
 as JobTracker.State | 
 int | 
getMapTasks()
Get the number of currently running map tasks in the cluster.  | 
 int | 
getMaxMapTasks()
Get the maximum capacity for running map tasks in the cluster.  | 
 int | 
getMaxReduceTasks()
Get the maximum capacity for running reduce tasks in the cluster.  | 
 int | 
getReduceTasks()
Get the number of currently running reduce tasks in the cluster.  | 
 int | 
getTaskTrackers()
Get the number of task trackers in the cluster.  | 
 void | 
readFields(DataInput in)
Deserialize the fields of this object from in. | 
 void | 
write(DataOutput out)
Serialize the fields of this object to out. | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Method Detail | 
|---|
public int getTaskTrackers()
public int getMapTasks()
public int getReduceTasks()
public int getMaxMapTasks()
public int getMaxReduceTasks()
public JobTracker.State getJobTrackerState()
JobTracker, 
 as JobTracker.State
JobTracker.
public void write(DataOutput out)
           throws IOException
Writableout.
write in interface Writableout - DataOuput to serialize this object into.
IOException
public void readFields(DataInput in)
                throws IOException
Writablein.  
 
 For efficiency, implementations should attempt to re-use storage in the existing object where possible.
readFields in interface Writablein - DataInput to deseriablize this object from.
IOException
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||