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
Writable
in
.
For efficiency, implementations should attempt to re-use storage in the existing object where possible.
readFields
in interface Writable
in
- DataInput
to deseriablize this object from.IOException
public void write(DataOutput out) throws IOException
Writable
out
.write
in interface Writable
out
- DataOuput
to serialize this object into.IOException
Copyright © 2020 Apache Software Foundation. All rights reserved.