Return-Path: X-Original-To: apmail-hadoop-common-user-archive@www.apache.org Delivered-To: apmail-hadoop-common-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 22D24E216 for ; Mon, 7 Jan 2013 11:25:07 +0000 (UTC) Received: (qmail 33509 invoked by uid 500); 7 Jan 2013 11:25:02 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 33188 invoked by uid 500); 7 Jan 2013 11:25:02 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 33169 invoked by uid 99); 7 Jan 2013 11:25:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Jan 2013 11:25:01 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of hadooplearner1986@gmail.com designates 209.85.220.174 as permitted sender) Received: from [209.85.220.174] (HELO mail-vc0-f174.google.com) (209.85.220.174) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Jan 2013 11:24:54 +0000 Received: by mail-vc0-f174.google.com with SMTP id d16so18881947vcd.19 for ; Mon, 07 Jan 2013 03:24:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=1GkynOrYwbhlZr+TJ9l5RUEdzsu8gyE7tFjH9C1Jke0=; b=A9SSllafoM7KfGLc7jBtLjJJmzH1ziAC3IM6SQfi+LAPHMeExOlqCHczIcnZQVvoAj l3melu1g6yZRLupDze1yJvhc1GYfTo78DMtWQuj7pUSM3COjkznNJNiqCYrnOBjoUPmo W2N/TCJ4XacmewB/jonU43RGjQDKrLdXSrAQhoStVbIVjbBigX8PtSmdzH3F+6XPCUIz Jda5Nj4zFKouEj/j/n1ETvEtV+lrGFJhJR1+4vm7QXKnPvy2V1jSZUaC2rHVi1K85udy ENIHhV16T1bK933VHHvsdFZgjEnR/6n/oD+t+9NQGRC+sYkoYhwmJPPdU877xvQ8O+oT G7tg== MIME-Version: 1.0 Received: by 10.52.19.172 with SMTP id g12mr71145344vde.14.1357557873022; Mon, 07 Jan 2013 03:24:33 -0800 (PST) Received: by 10.52.177.72 with HTTP; Mon, 7 Jan 2013 03:24:32 -0800 (PST) In-Reply-To: References: Date: Mon, 7 Jan 2013 11:24:32 +0000 Message-ID: Subject: Re: Reg: Fetching TaskAttempt Details from a RunningJob From: Hadoop Learner To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=20cf307c9d96c896f504d2b11217 X-Virus-Checked: Checked by ClamAV on apache.org --20cf307c9d96c896f504d2b11217 Content-Type: text/plain; charset=ISO-8859-1 Any Suggestions? Thanks and Regards, Shyam On Sun, Jan 6, 2013 at 3:00 PM, Hadoop Learner wrote: > Hi All, > > Working on a requirement of hadoop Job Monitoring. Requirement is to get > every Task attempt details of a Running Job. Details are following : > > Task Attempt Start Time > Task Tracker Name where Task Attempt is executing > Errors or Exceptions in a running Task Attempt > > I have Implemented JobClient, RunningJob, JobStatus, TaskReport APIs to > get the Task Attempt IDs( I have the task Attempt IDs for which I need > required details). By using these APIs I was unable to get Task Attempt > details as per my requirement mentioned above. Can you please help me with > some ways to get required details using Java APIs. > > Any pointers will be helpful. > > (Note : I have tried using TaskInProgress API, But not sure how to get > TaskInProgress instance from a task ID. Also noticed TaskInProgress class > is not visible to my classes) > > Thanks and Regards, > Shyam > --20cf307c9d96c896f504d2b11217 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Any Suggestions?

Thanks and Regards= ,
Shyam


On Sun, Jan 6, 2013 at 3:00 PM, Hadoop Learner <had= ooplearner1986@gmail.com> wrote:
Hi All,

=A0 Working on a requirement of hadoop Jo= b Monitoring. Requirement is to get every Task attempt details of a Running= Job. Details are following :

Task Attempt Start Time
Task Tracker Name where Task Att= empt is executing
Errors or Exceptions in a running Task Attempt
I have Implemented JobClient, RunningJob, JobStatus, TaskReport= APIs to get the Task Attempt IDs( I have the task Attempt IDs for which I = need required details). By using these APIs I was unable to get Task Attemp= t details as per my requirement mentioned above. Can you please help me wit= h some ways to get required details using Java APIs.

Any pointers will be helpful.

(Note = : I have tried using TaskInProgress API, But not sure how to get TaskInProg= ress instance from a task ID. Also noticed TaskInProgress class is not visi= ble to my classes)

Thanks and Regards,
Shyam

--20cf307c9d96c896f504d2b11217--