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 178908A21 for ; Mon, 5 Sep 2011 13:01:47 +0000 (UTC) Received: (qmail 78462 invoked by uid 500); 5 Sep 2011 13:01:43 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 77854 invoked by uid 500); 5 Sep 2011 13:01:37 -0000 Mailing-List: contact common-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-user@hadoop.apache.org Delivered-To: mailing list common-user@hadoop.apache.org Received: (qmail 77839 invoked by uid 99); 5 Sep 2011 13:01:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Sep 2011 13:01:35 +0000 X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of nitin.khandelwal@germinait.com does not designate 209.85.210.176 as permitted sender) Received: from [209.85.210.176] (HELO mail-iy0-f176.google.com) (209.85.210.176) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Sep 2011 13:01:29 +0000 Received: by iafi7 with SMTP id i7so9134466iaf.35 for ; Mon, 05 Sep 2011 06:01:08 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.62.149 with SMTP id x21mr7493205ibh.96.1315227668286; Mon, 05 Sep 2011 06:01:08 -0700 (PDT) Received: by 10.231.205.146 with HTTP; Mon, 5 Sep 2011 06:01:08 -0700 (PDT) Date: Mon, 5 Sep 2011 18:31:08 +0530 Message-ID: Subject: Problem in Getting Job Status From: Nitin Khandelwal To: common-user@hadoop.apache.org Content-Type: multipart/alternative; boundary=000e0cd52afaf78f2204ac314df4 --000e0cd52afaf78f2204ac314df4 Content-Type: text/plain; charset=ISO-8859-1 Hi All, We are migrating from Hadoop 0.19.2 to Hadoop 0.20.203. The normal flow ( job posting / running ) works fine. In one of the flow, we are required to check Task Reports for a running Job to fetch its state. In the older code (0.19.2) we had following piece of code which does the required tasks runningJob is an instance of Job TaskReport[] reports = jobClient.getMapTaskReports( runningJob.getID()); Wanted to know how it will change in the newer version. I tried with TaskReport[] reports = jobClient.getMapTaskReports((JobID) runningJob.getJobID()); This did not work as there is no JobID is set in Job instance. Requesting your assistance in this. Let me know if any other details are required. Thanks. -- Nitin Khandelwal --000e0cd52afaf78f2204ac314df4--