org.apache.hadoop.mapreduce.v2.app.job.event
Class JobEvent
java.lang.Object
org.apache.hadoop.yarn.event.AbstractEvent<JobEventType>
org.apache.hadoop.mapreduce.v2.app.job.event.JobEvent
- All Implemented Interfaces:
- org.apache.hadoop.yarn.event.Event<JobEventType>
- Direct Known Subclasses:
- JobCounterUpdateEvent, JobDiagnosticsUpdateEvent, JobMapTaskRescheduledEvent, JobTaskAttemptCompletedEvent, JobTaskAttemptFetchFailureEvent, JobTaskEvent
public class JobEvent
- extends org.apache.hadoop.yarn.event.AbstractEvent<JobEventType>
This class encapsulates job related events.
|
Constructor Summary |
JobEvent(org.apache.hadoop.mapreduce.v2.api.records.JobId jobID,
JobEventType type)
|
|
Method Summary |
org.apache.hadoop.mapreduce.v2.api.records.JobId |
getJobId()
|
| Methods inherited from class org.apache.hadoop.yarn.event.AbstractEvent |
getTimestamp, getType, toString |
JobEvent
public JobEvent(org.apache.hadoop.mapreduce.v2.api.records.JobId jobID,
JobEventType type)
getJobId
public org.apache.hadoop.mapreduce.v2.api.records.JobId getJobId()
Copyright © 2012 Apache Software Foundation. All Rights Reserved.