|
||||||||||
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)
|
|
TaskAttemptStartedEvent(TaskAttemptID attemptId,
TaskType taskType,
long startTime,
String trackerName,
int httpPort,
int shufflePort,
org.apache.hadoop.yarn.api.records.ContainerId containerId)
Create an event to record the start of an attempt |
Method Summary | |
---|---|
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 |
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)
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.public TaskAttemptStartedEvent(TaskAttemptID attemptId, TaskType taskType, long startTime, String trackerName, int httpPort, int shufflePort)
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |