@InterfaceAudience.Public @InterfaceStability.Evolving public class TaskTrackerInfo extends Object implements org.apache.hadoop.io.Writable
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) |
void |
write(DataOutput 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
readFields
in interface org.apache.hadoop.io.Writable
IOException
public void write(DataOutput out) throws IOException
write
in interface org.apache.hadoop.io.Writable
IOException
Copyright © 2018 Apache Software Foundation. All Rights Reserved.