|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hadoop.mapreduce.jobhistory.AMStartedEvent
@InterfaceAudience.Private @InterfaceStability.Unstable public class AMStartedEvent
Event to record start of a task attempt
Constructor Summary | |
---|---|
AMStartedEvent(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId,
long startTime,
org.apache.hadoop.yarn.api.records.ContainerId containerId,
String nodeManagerHost,
int nodeManagerPort,
int nodeManagerHttpPort)
Create an event to record the start of an MR AppMaster |
Method Summary | |
---|---|
org.apache.hadoop.yarn.api.records.ApplicationAttemptId |
getAppAttemptId()
|
org.apache.hadoop.yarn.api.records.ContainerId |
getContainerId()
|
Object |
getDatum()
Return the Avro datum wrapped by this. |
EventType |
getEventType()
Get the attempt id |
String |
getNodeManagerHost()
|
int |
getNodeManagerHttpPort()
|
int |
getNodeManagerPort()
|
long |
getStartTime()
|
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 AMStartedEvent(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId, long startTime, org.apache.hadoop.yarn.api.records.ContainerId containerId, String nodeManagerHost, int nodeManagerPort, int nodeManagerHttpPort)
appAttemptId
- the application attempt id.startTime
- the start time of the AM.containerId
- the containerId of the AM.nodeManagerHost
- the node on which the AM is running.nodeManagerPort
- the port on which the AM is running.nodeManagerHttpPort
- the httpPort for the node running the AM.Method Detail |
---|
public Object getDatum()
HistoryEvent
getDatum
in interface HistoryEvent
public void setDatum(Object datum)
HistoryEvent
setDatum
in interface HistoryEvent
public org.apache.hadoop.yarn.api.records.ApplicationAttemptId getAppAttemptId()
public long getStartTime()
public org.apache.hadoop.yarn.api.records.ContainerId getContainerId()
public String getNodeManagerHost()
public int getNodeManagerPort()
public int getNodeManagerHttpPort()
public EventType getEventType()
getEventType
in interface HistoryEvent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |