Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HDFS >> mail # user >> What is the difference between a failed task attempt and a killed task attempt?


Copy link to this message
-
What is the difference between a failed task attempt and a killed task attempt?
What is the difference between a failed task attempt and a killed task
attempt?

*A.  *A failed task attempt is a task attempt that threw an unhandled
exception. A killed task attempt is one that was terminated by the
JobTracker.

* *

*B.  *A failed task attempt is a task attempt that did not generate any key
value pairs. A killed task attempt is a task attempt that threw an
exception, and thus killed by the execution framework.

* *

*C.  *A failed task attempt is a task attempt that completed, but with an
unexpected status value. A killed task attempt is a duplicate copy of a
task attempt that was started as part of speculative execution.

* *

*D.  *A failed task attempt is a task attempt that threw a RuntimeException
(i.e., the task fails). A killed task attempt is a task attempt that threw
any other type of exception (e.g., IOException); the execution framework
catches these exceptions and reports them as killed.