hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harsh J <ha...@cloudera.com>
Subject Re: Observation of MapReduce Task execution
Date Sun, 17 Apr 2011 10:58:25 GMT
Hello,

On Sun, Apr 17, 2011 at 3:48 PM, Francesco De Luca <f.deluca86@gmail.com> wrote:
>
> Exists any notification mechanism to be notified of all task state changes
> (task failure,task completion ecc)?
>
> In particular i need to follow all the map and reduce task execution.

You can loop over and request the TaskCompletionEvents from your
RunningJob instance:
http://hadoop.apache.org/common/docs/r0.20.2/api/org/apache/hadoop/mapred/RunningJob.html#getTaskCompletionEvents(int)

-- 
Harsh J

Mime
View raw message