Return-Path: Delivered-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Received: (qmail 10545 invoked from network); 12 Dec 2010 13:56:27 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 12 Dec 2010 13:56:27 -0000 Received: (qmail 71273 invoked by uid 500); 12 Dec 2010 13:56:26 -0000 Delivered-To: apmail-hadoop-mapreduce-user-archive@hadoop.apache.org Received: (qmail 71105 invoked by uid 500); 12 Dec 2010 13:56:26 -0000 Mailing-List: contact mapreduce-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-user@hadoop.apache.org Delivered-To: mailing list mapreduce-user@hadoop.apache.org Received: (qmail 71097 invoked by uid 99); 12 Dec 2010 13:56:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Dec 2010 13:56:25 +0000 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of patodirahul@gmail.com designates 74.125.82.176 as permitted sender) Received: from [74.125.82.176] (HELO mail-wy0-f176.google.com) (74.125.82.176) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Dec 2010 13:56:20 +0000 Received: by wye20 with SMTP id 20so5346111wye.35 for ; Sun, 12 Dec 2010 05:55:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=HuYtWVyM8Fdjw3LcaqcFK16J/KuUFS6XR6nsZKTInGM=; b=AB+EIEVsf9OsrWhclBKJu8quSo3n+R7l4RII627c6/amW2nwqaxUnW34SJoKYl5zOV UjCWFLNatyPWd6uiY1LS2e3DfOvL0I7abQLuZoKQtNidvm0D1UZd2iFfBJh3DzRvTJhj 0YTFNxCwFxpAzK5uiEokAjdjMELLuSyHOTXQc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=eK+bBQ3jdrd9eoNn4nAZFQlNlDw6dRDhJ90c0O93y7Mlg4ZQIqjZAES+nYvogr7ANy buGs6aKaS0j/a11Nq2aX7GlDvPHNoYrhqKokByLKH2vZjiKx4XEKYRTSV4zA5L9nKXtQ u6i4dmrI+Cc+cLKXkaUoq1o1vQF5xVjpehtEc= MIME-Version: 1.0 Received: by 10.216.173.65 with SMTP id u43mr1020108wel.63.1292162157474; Sun, 12 Dec 2010 05:55:57 -0800 (PST) Received: by 10.216.16.131 with HTTP; Sun, 12 Dec 2010 05:55:57 -0800 (PST) In-Reply-To: References: Date: Sun, 12 Dec 2010 19:25:57 +0530 Message-ID: Subject: Re: task statistics From: rahul patodi To: mapreduce-user@hadoop.apache.org Content-Type: multipart/alternative; boundary=00163642745f63755a049736f29b --00163642745f63755a049736f29b Content-Type: text/plain; charset=ISO-8859-1 Hi nitin, you can get all the information about task (submitted, running, failed etc) , jobs on the web interface given by hadoop for jobtracker http://IP-ADDRESS:50030/ for tasktracker http://IP-ADDRESS:50060/ -- *Regards*, Rahul Patodi Associate Software Engineer, Impetus Infotech (India) Pvt Ltd, www.impetus.com Mob:09907074413 On Tue, Dec 7, 2010 at 2:52 AM, Ted Yu wrote: > 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 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 >> > > --00163642745f63755a049736f29b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi nitin,
you can get all the information about task (submitted, running= , failed etc) , jobs on the web interface given by hadoop
for jobtracker= =A0=A0 =A0 =A0=A0 http://IP-ADDRESS:50= 030/
for tasktracker=A0=A0=A0=A0=A0 http://= IP-ADDRESS:50060/

--
Regards,
Rahul Patodi
Associate Software Engineer,
Impetus Inf= otech (India) Pvt Ltd,
Mob:09907074413


On Tue, Dec 7, 2010 at 2:52 AM, Ted Yu <= span dir=3D"ltr"><yuzhihong@gmail= .com> wrote:
We use the following in our client:
=A0=A0=A0 =A0=A0=A0 JobClient jobCli= ent =3D new JobClient(jobConf);
=A0=A0=A0 =A0=A0=A0 TaskReport[] mapTask= Reports =3D jobClient.getMapTaskReports(job.getID());
=A0=A0=A0 =A0=A0= =A0 if (mapTaskReports !=3D null) {
=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 for (T= askReport tr : mapTaskReports) {
=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 TIPStatus tips =3D tr.getCurrentSta= tus();
=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 if (tips =3D=3D TIPStatus= .FAILED || tips =3D=3D TIPStatus.KILLED) {

FYI


On Mon, Dec 6, 2010 at 9:17 = AM, nitin reddy <chintu.nitin@gmail.com> wrote:
Hi

I =A0am new to hadoop, I am trying to get the statistics for a task
tracker like =A0, 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





--00163642745f63755a049736f29b--