CCA-500 · Question #74
CCA-500 Question #74: Real Exam Question with Answer & Explanation
The correct answer is D. the jobtracket attempts to re-run the task on a different node. When the jobtracker is notified of a task attempt that has failed (by the tasktracker's heartbeat call), it will reschedule execution of the task. The jobtracker will try to avoid rescheduling the task on a tasktracker where it has previously failed. Consider first the case of th
Question
Options
- AThe job immediately fails
- BThe tasktracker closes the JVM instance and restarts
- CThe jobtracker attempts to re-run the task on the same node
- Dthe jobtracket attempts to re-run the task on a different node
Explanation
When the jobtracker is notified of a task attempt that has failed (by the tasktracker's heartbeat call), it will reschedule execution of the task. The jobtracker will try to avoid rescheduling the task on a tasktracker where it has previously failed. Consider first the case of the child task failing. The most common way that this happens is when user code in the map or reduce task throws a runtime exception. If this happens, the child JVM reports the error back to its parent tasktracker, before it exits. The error ultimately makes it into the user logs. The tasktracker marks the task attempt as failed, freeing up a slot to run another
Community Discussion
No community discussion yet for this question.