Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 83738 invoked from network); 4 Sep 2008 09:44:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Sep 2008 09:44:19 -0000 Received: (qmail 23831 invoked by uid 500); 4 Sep 2008 09:44:03 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 23752 invoked by uid 500); 4 Sep 2008 09:44:03 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 23729 invoked by uid 99); 4 Sep 2008 09:44:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Sep 2008 02:44:03 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Sep 2008 09:43:13 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 75E01234C1CB for ; Thu, 4 Sep 2008 02:43:44 -0700 (PDT) Message-ID: <79399406.1220521424481.JavaMail.jira@brutus> Date: Thu, 4 Sep 2008 02:43:44 -0700 (PDT) From: "Amar Kamat (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Created: (HADOOP-4068) JobTracker might wrongly log a tip as failed MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org JobTracker might wrongly log a tip as failed -------------------------------------------- Key: HADOOP-4068 URL: https://issues.apache.org/jira/browse/HADOOP-4068 Project: Hadoop Core Issue Type: Bug Components: mapred Reporter: Amar Kamat Consider the following case 1) attempt _attempt_1_0_ from tip _tip_1_ that ran on tracker _tracker_1_ failed 2) jobtracker will mark _attempt_1_0_ for removal under _tracker_1_. Marking basically means removal of the mapping _tracker_1_->_attempt_1_0_ 3) Marked attempts are removed only on next heartbeat from _tracker__1 or when _tracker_1_ is lost. 4) Consider a case where _tracker_1_ goes down. 5) In the meanwhile attempt _attempt_1_1_ succeeds on _tracker_2_ and the jobtracker marks the tip _tip_1_ as complete 6) Now the expiry-tracker thread detect that _tracker_1_ is lost and fails all the attempt under _tracker_1_. 7) Here the jobtracker will kill _attempt_1_0_ *again* and log tip _tip_1_ as failed in the history although tip _tip_1_ is really complete/succeeded. The events in the history file would be something like {noformat} tip_1 start --------- attempt_1_0 start attempt_1_0 failed --------- attempt_1_1 start attempt_1_1 finished tip_1 finished --------- tip_1 failed {noformat} Note that this true even for tasks that expire. Tasks that are scheduled and never come back are killed by the {{ExpireLaunchingTasks}} thread. It will also call {{JobInProgress.failedTask()}} which will fail the attempt and log the TIP as failed. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.