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:
JobAbortCompletedEvent, JobCommitCompletedEvent, JobCommitFailedEvent, JobCounterUpdateEvent, JobDiagnosticsUpdateEvent, JobMapTaskRescheduledEvent, JobSetupCompletedEvent, JobSetupFailedEvent, JobStartEvent, JobTaskAttemptCompletedEvent, JobTaskAttemptFetchFailureEvent, JobTaskEvent, JobUpdatedNodesEvent

public class JobEvent extends org.apache.hadoop.yarn.event.AbstractEvent<JobEventType>
This class encapsulates job related events.
  • Constructor Summary

    Constructors
    Constructor
    Description
    JobEvent(org.apache.hadoop.mapreduce.v2.api.records.JobId jobID, JobEventType type)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.hadoop.mapreduce.v2.api.records.JobId
     

    Methods inherited from class org.apache.hadoop.yarn.event.AbstractEvent

    getTimestamp, getType, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • JobEvent

      public JobEvent(org.apache.hadoop.mapreduce.v2.api.records.JobId jobID, JobEventType type)
  • Method Details

    • getJobId

      public org.apache.hadoop.mapreduce.v2.api.records.JobId getJobId()