|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.mapreduce.TaskTrackerInfo
@InterfaceAudience.Public @InterfaceStability.Evolving public class TaskTrackerInfo
Information about TaskTracker.
| Constructor Summary | |
|---|---|
TaskTrackerInfo()
|
|
TaskTrackerInfo(String name)
|
|
TaskTrackerInfo(String name,
String reasonForBlacklist,
String report)
|
|
| Method Summary | |
|---|---|
String |
getBlacklistReport()
Gets a descriptive report about why the tasktracker was blacklisted. |
String |
getReasonForBlacklist()
Gets the reason for which the tasktracker was blacklisted. |
String |
getTaskTrackerName()
Gets the tasktracker's name. |
boolean |
isBlacklisted()
Whether tracker is blacklisted |
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 |
| Constructor Detail |
|---|
public TaskTrackerInfo()
public TaskTrackerInfo(String name)
public TaskTrackerInfo(String name,
String reasonForBlacklist,
String report)
| Method Detail |
|---|
public String getTaskTrackerName()
public boolean isBlacklisted()
public String getReasonForBlacklist()
public String getBlacklistReport()
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
public void write(DataOutput out)
throws IOException
Writableout.
write in interface Writableout - DataOuput to serialize this object into.
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||