org.apache.hadoop.mapreduce
Class TaskTrackerInfo

java.lang.Object
  extended by org.apache.hadoop.mapreduce.TaskTrackerInfo
All Implemented Interfaces:
org.apache.hadoop.io.Writable

@InterfaceAudience.Public
@InterfaceStability.Evolving
public class TaskTrackerInfo
extends Object
implements org.apache.hadoop.io.Writable

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)
           
 void write(DataOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaskTrackerInfo

public TaskTrackerInfo()

TaskTrackerInfo

public TaskTrackerInfo(String name)

TaskTrackerInfo

public TaskTrackerInfo(String name,
                       String reasonForBlacklist,
                       String report)
Method Detail

getTaskTrackerName

public String getTaskTrackerName()
Gets the tasktracker's name.

Returns:
tracker's name.

isBlacklisted

public boolean isBlacklisted()
Whether tracker is blacklisted

Returns:
true if tracker is blacklisted false otherwise

getReasonForBlacklist

public String getReasonForBlacklist()
Gets the reason for which the tasktracker was blacklisted.

Returns:
reason which tracker was blacklisted

getBlacklistReport

public String getBlacklistReport()
Gets a descriptive report about why the tasktracker was blacklisted.

Returns:
report describing why the tasktracker was blacklisted.

readFields

public void readFields(DataInput in)
                throws IOException
Specified by:
readFields in interface org.apache.hadoop.io.Writable
Throws:
IOException

write

public void write(DataOutput out)
           throws IOException
Specified by:
write in interface org.apache.hadoop.io.Writable
Throws:
IOException


Copyright © 2013 Apache Software Foundation. All Rights Reserved.