|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hadoop.mapreduce.jobhistory.TaskAttemptStartedEvent
@InterfaceAudience.Private @InterfaceStability.Unstable public class TaskAttemptStartedEvent
Event to record start of a task attempt
Constructor Summary | |
---|---|
TaskAttemptStartedEvent(TaskAttemptID attemptId,
TaskType taskType,
long startTime,
String trackerName,
int httpPort,
int shufflePort,
org.apache.hadoop.yarn.api.records.ContainerId containerId,
String locality,
String avataar)
Create an event to record the start of an attempt |
|
TaskAttemptStartedEvent(TaskAttemptID attemptId,
TaskType taskType,
long startTime,
String trackerName,
int httpPort,
int shufflePort,
String locality,
String avataar)
|
Method Summary | |
---|---|
String |
getAvataar()
Get the avataar |
org.apache.hadoop.yarn.api.records.ContainerId |
getContainerId()
Get the ContainerId |
Object |
getDatum()
Return the Avro datum wrapped by this. |
EventType |
getEventType()
Get the event type |
int |
getHttpPort()
Get the HTTP port |
String |
getLocality()
Get the locality |
int |
getShufflePort()
Get the shuffle port |
long |
getStartTime()
Get the start time |
TaskAttemptID |
getTaskAttemptId()
Get the attempt id |
TaskID |
getTaskId()
Get the task id |
TaskType |
getTaskType()
Get the task type |
String |
getTrackerName()
Get the tracker name |
void |
setDatum(Object datum)
Set the Avro datum wrapped by this. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TaskAttemptStartedEvent(TaskAttemptID attemptId, TaskType taskType, long startTime, String trackerName, int httpPort, int shufflePort, org.apache.hadoop.yarn.api.records.ContainerId containerId, String locality, String avataar)
attemptId
- Id of the attempttaskType
- Type of taskstartTime
- Start time of the attempttrackerName
- Name of the Task Tracker where attempt is runninghttpPort
- The port number of the trackershufflePort
- The shuffle port number of the containercontainerId
- The containerId for the task attempt.locality
- The locality of the task attemptavataar
- The avataar of the task attemptpublic TaskAttemptStartedEvent(TaskAttemptID attemptId, TaskType taskType, long startTime, String trackerName, int httpPort, int shufflePort, String locality, String avataar)
Method Detail |
---|
public Object getDatum()
HistoryEvent
getDatum
in interface HistoryEvent
public void setDatum(Object datum)
HistoryEvent
setDatum
in interface HistoryEvent
public TaskID getTaskId()
public String getTrackerName()
public long getStartTime()
public TaskType getTaskType()
public int getHttpPort()
public int getShufflePort()
public TaskAttemptID getTaskAttemptId()
public EventType getEventType()
getEventType
in interface HistoryEvent
public org.apache.hadoop.yarn.api.records.ContainerId getContainerId()
public String getLocality()
public String getAvataar()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |