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

Switch to Threaded View
MapReduce, mail # user - task statistics


Copy link to this message
-
Re: task statistics
Ted Yu 2010-12-06, 21:22
We use the following in our client:
        JobClient jobClient = new JobClient(jobConf);
        TaskReport[] mapTaskReports jobClient.getMapTaskReports(job.getID());
        if (mapTaskReports != null) {
            for (TaskReport tr : mapTaskReports) {
                TIPStatus tips = tr.getCurrentStatus();
                if (tips == TIPStatus.FAILED || tips == TIPStatus.KILLED) {

FYI

On Mon, Dec 6, 2010 at 9:17 AM, nitin reddy <[EMAIL PROTECTED]> wrote:

> Hi
>
> I  am new to hadoop, I am trying to get the statistics for a task
> tracker like  , the task tracker id, the number of tasks submitted to
> it , the number of tasks were successfully run,may be the run time of
> the task , is there any way where i can get these results.
>
>
> Thanks
> Nitin
>