In the last post, we looked into the Yarn event structure. Today, we will look at different events introduced in MapReduce V2. These events are defined in the org.apache.hadoop.mapreduce.v2.app.job.event package.
You will find different event types defined in the JobEventType, TaskEventType, TaskAttemptEventType enum classes.
/** * Event types handled by Job. */ public enum JobEventType { //Producer:Client JOB_KILL, //Producer:MRAppMaster JOB_INIT, JOB_START, //Producer:Task JOB_TASK_COMPLETED, JOB_MAP_TASK_RESCHEDULED, JOB_TASK_ATTEMPT_COMPLETED, //Producer:CommitterEventHandler JOB_SETUP_COMPLETED, JOB_SETUP_FAILED, JOB_COMMIT_COMPLETED, JOB_COMMIT_FAILED, JOB_ABORT_COMPLETED, //Producer:Job JOB_COMPLETED, //Producer:Any component JOB_DIAGNOSTIC_UPDATE, INTERNAL_ERROR, JOB_COUNTER_UPDATE, //Producer:TaskAttemptListener JOB_TASK_ATTEMPT_FETCH_FAILURE, //Producer:RMContainerAllocator JOB_UPDATED_NODES }