|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.mapred.ClusterStatus
ClusterMetrics
or TaskTrackerInfo
instead
@Deprecated @InterfaceAudience.Public @InterfaceStability.Stable 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
Nested Class Summary | |
---|---|
static class |
ClusterStatus.BlackListInfo
Deprecated. Class which encapsulates information about a blacklisted tasktracker. |
Method Summary | |
---|---|
Collection<String> |
getActiveTrackerNames()
Deprecated. Get the names of task trackers in the cluster. |
Collection<String> |
getBlacklistedTrackerNames()
Deprecated. Get the names of task trackers in the cluster. |
int |
getBlacklistedTrackers()
Deprecated. Get the number of blacklisted task trackers in the cluster. |
Collection<ClusterStatus.BlackListInfo> |
getBlackListedTrackersInfo()
Deprecated. Gets the list of blacklisted trackers along with reasons for blacklisting. |
org.apache.hadoop.mapred.JobTracker.State |
getJobTrackerState()
Deprecated. Use getJobTrackerStatus() instead. |
Cluster.JobTrackerStatus |
getJobTrackerStatus()
Deprecated. Get the JobTracker's status. |
int |
getMapTasks()
Deprecated. Get the number of currently running map tasks in the cluster. |
int |
getMaxMapTasks()
Deprecated. Get the maximum capacity for running map tasks in the cluster. |
int |
getMaxReduceTasks()
Deprecated. Get the maximum capacity for running reduce tasks in the cluster. |
int |
getNumExcludedNodes()
Deprecated. Get the number of excluded hosts in the cluster. |
int |
getReduceTasks()
Deprecated. Get the number of currently running reduce tasks in the cluster. |
int |
getTaskTrackers()
Deprecated. Get the number of task trackers in the cluster. |
long |
getTTExpiryInterval()
Deprecated. Get the tasktracker expiry interval for the cluster |
void |
readFields(DataInput in)
Deprecated. |
void |
write(DataOutput out)
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int getTaskTrackers()
public Collection<String> getActiveTrackerNames()
public Collection<String> getBlacklistedTrackerNames()
public int getBlacklistedTrackers()
public int getNumExcludedNodes()
public long getTTExpiryInterval()
public int getMapTasks()
public int getReduceTasks()
public int getMaxMapTasks()
public int getMaxReduceTasks()
@Deprecated public org.apache.hadoop.mapred.JobTracker.State getJobTrackerState()
getJobTrackerStatus()
instead.
JobTracker
,
as JobTracker.State
JobTracker
.public Cluster.JobTrackerStatus getJobTrackerStatus()
Cluster.JobTrackerStatus
of the JobTrackerpublic Collection<ClusterStatus.BlackListInfo> getBlackListedTrackersInfo()
ClusterStatus.BlackListInfo
objects.public void write(DataOutput out) throws IOException
write
in interface org.apache.hadoop.io.Writable
IOException
public void readFields(DataInput in) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |