Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 91429 invoked from network); 12 Mar 2009 08:53:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Mar 2009 08:53:18 -0000 Received: (qmail 65627 invoked by uid 500); 12 Mar 2009 08:53:13 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 65595 invoked by uid 500); 12 Mar 2009 08:53:13 -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 65576 invoked by uid 99); 12 Mar 2009 08:53:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Mar 2009 01:53:13 -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, 12 Mar 2009 08:53:11 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 851FF234C041 for ; Thu, 12 Mar 2009 01:52:50 -0700 (PDT) Message-ID: <38034044.1236847970531.JavaMail.jira@brutus> Date: Thu, 12 Mar 2009 01:52:50 -0700 (PDT) From: "Devaraj Das (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-5474) All reduce tasks should be re-executed when tasktracker with a completed map task failed In-Reply-To: <991802124.1236846050521.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-5474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12681219#action_12681219 ] Devaraj Das commented on HADOOP-5474: ------------------------------------- bq. In this situation, if the outputs of multi map tasks on the same dataset are different, for example outputting a random number, the outputs of maptask and the re-executed maptask will probably are different. Then the re-executed reduce tasks will read the new output of the re-executed maptask, but reduce tasks that have read the data from the failed tasktracker have read the old output. This probably will cause correctness of the result. I think your application should be tolerant to this happening and be written assuming that maps/reduces could fail or get killed, etc. We really don't want to do what you suggest. > All reduce tasks should be re-executed when tasktracker with a completed map task failed > ---------------------------------------------------------------------------------------- > > Key: HADOOP-5474 > URL: https://issues.apache.org/jira/browse/HADOOP-5474 > Project: Hadoop Core > Issue Type: Bug > Components: mapred > Affects Versions: 0.19.0 > Environment: CentOS 5, > hadoop-0.19.0 > Reporter: Leitao Guo > Priority: Critical > Original Estimate: 96h > Remaining Estimate: 96h > > When a tasktracker with a completed map task failed, the map task will be re-exectuted, and all reduce tasks that haven't read the data from that tasktracker should be re-executed. But the reduce task that have read the data from that tasktracker will not be re-executed. > In this situation, if the outputs of multi map tasks on the same dataset are different, for example outputting a random number, the outputs of maptask and the re-executed maptask will probably are different. Then the re-executed reduce tasks will read the new output of the re-executed maptask, but reduce tasks that have read the data from the failed tasktracker have read the old output. This probably will cause correctness of the result. > A recommended solution is that all reduce tasks should be re-executed if one tasktracker with a completed map task failed. > Any comments? thanks! -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.