| Constructor and Description |
|---|
TaskTrackerInfo() |
TaskTrackerInfo(String name) |
TaskTrackerInfo(String name,
String reasonForBlacklist,
String report) |
| Modifier and Type | Method and Description |
|---|---|
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. |
public TaskTrackerInfo()
public TaskTrackerInfo(String name)
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.IOExceptionpublic void write(DataOutput out) throws IOException
Writableout.write in interface Writableout - DataOuput to serialize this object into.IOExceptionCopyright © 2022 Apache Software Foundation. All rights reserved.