@InterfaceAudience.Private @InterfaceStability.Unstable public class AMStartedEvent extends Object implements HistoryEvent
Constructor and Description |
---|
AMStartedEvent(ApplicationAttemptId appAttemptId,
long startTime,
ContainerId containerId,
String nodeManagerHost,
int nodeManagerPort,
int nodeManagerHttpPort)
Create an event to record the start of an MR AppMaster
|
Modifier and Type | Method and Description |
---|---|
ApplicationAttemptId |
getAppAttemptId() |
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.
|
public AMStartedEvent(ApplicationAttemptId appAttemptId, long startTime, 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.public Object getDatum()
HistoryEvent
getDatum
in interface HistoryEvent
public void setDatum(Object datum)
HistoryEvent
setDatum
in interface HistoryEvent
public ApplicationAttemptId getAppAttemptId()
public long getStartTime()
public ContainerId getContainerId()
public String getNodeManagerHost()
public int getNodeManagerPort()
public int getNodeManagerHttpPort()
public EventType getEventType()
getEventType
in interface HistoryEvent
Copyright © 2013 Apache Software Foundation. All rights reserved.