|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 |
|
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 |
|
| 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 |
getForcedJobStateOnShutDown()
|
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.
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 into| Method Detail |
|---|
public Object getDatum()
HistoryEvent
getDatum in interface HistoryEventpublic void setDatum(Object datum)
HistoryEvent
setDatum 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 HistoryEvent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||