@InterfaceAudience.Private @InterfaceStability.Unstable public class AMStartedEvent extends Object implements HistoryEvent
| Constructor and Description |
|---|
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
|
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,
String forcedJobStateOnShutDown)
Create an event to record the start of an MR AppMaster
|
| Modifier and Type | Method and Description |
|---|---|
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 |
getForcedJobStateOnShutDown() |
String |
getNodeManagerHost() |
int |
getNodeManagerHttpPort() |
int |
getNodeManagerPort() |
long |
getStartTime() |
void |
setDatum(Object datum)
Set the Avro datum wrapped by this.
|
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.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,
String forcedJobStateOnShutDown)
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.forcedJobStateOnShutDown - the state to force the job intopublic Object getDatum()
HistoryEventgetDatum in interface HistoryEventpublic void setDatum(Object datum)
HistoryEventsetDatum in interface HistoryEventpublic 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 String getForcedJobStateOnShutDown()
public EventType getEventType()
getEventType in interface HistoryEventCopyright © 2016 Apache Software Foundation. All Rights Reserved.