TaskInProgress is the data structure used by JobTracker/JobInProgress to keep task (map/reduce) related information together since for each map/reduce task there can be multiple attempts. This structure is more complex and holds generic task-level information like number of attempts, failures, hosts where executed, hosts where the split resides etc. While TaskTracker.TaskInProgress is the data structure used by the TaskTracker for tracking map/reduce attempts. This is a simple structure used to keep track of the local tasks at TaskTracker (mostly for task execution metrics). In short TaskInProgress is used to represent each map/reduce task while TaskTracker.TaskInProgress is used to represent the attempt for each map/reduce task.
Amar
On Sat, 1 Mar 2008, Ahmad Humayun wrote:

Hello there,

Whats the difference b/w the TaskInProgress class and the
TaskTracker.TaskInProgress (the inner class)?

thanks for bearing with my stupid question :)


regards,

Reply via email to