Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 68167 invoked from network); 14 Feb 2007 02:05:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Feb 2007 02:05:27 -0000 Received: (qmail 6720 invoked by uid 500); 14 Feb 2007 02:05:34 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 6686 invoked by uid 500); 14 Feb 2007 02:05:34 -0000 Mailing-List: contact hadoop-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-dev@lucene.apache.org Delivered-To: mailing list hadoop-dev@lucene.apache.org Received: (qmail 6677 invoked by uid 99); 14 Feb 2007 02:05:34 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Feb 2007 18:05:34 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Feb 2007 18:05:26 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5E2EF7141E2 for ; Tue, 13 Feb 2007 18:05:06 -0800 (PST) Message-ID: <7606365.1171418706382.JavaMail.jira@brutus> Date: Tue, 13 Feb 2007 18:05:06 -0800 (PST) From: "Arun C Murthy (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Commented: (HADOOP-1018) Single lost heartbeat leads to a "Lost task tracker" In-Reply-To: <21121287.1171394705511.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-1018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12472961 ] Arun C Murthy commented on HADOOP-1018: --------------------------------------- JobTracker does exactly what your suggested: acknowledge the duplicate status-update without processsing; it resends the 'prevHeartbeatRespone' i.e. the lost heartbeat response to the TT. Maybe the log message there is misleading? > Single lost heartbeat leads to a "Lost task tracker" > ---------------------------------------------------- > > Key: HADOOP-1018 > URL: https://issues.apache.org/jira/browse/HADOOP-1018 > Project: Hadoop > Issue Type: Bug > Affects Versions: 0.10.0, 0.11.2, 0.12.0 > Environment: Nutch trunk/ (Hadoop 0.10.0), Linux, JDK 1.5, a cluster of 9 machines. > Reporter: Andrzej Bialecki > > Under heavy load, task tracker may lose the heartbeat response from the JobTracker. Task tracker tries to resend the last heartbeat message, which job tracker treats as "duplicate" response and ignores. Since task tracker tries to resend the same heartbeat message, with the same id, over and over again, no "valid" messages reach the job tracker, so after a while it considers the task tracker to be lost. Task tracker cannot recover from this state and needs to be restarted. > Looking at Hadoop trunk/ I believe this problem still may occur - in JobTracker.java.heartbeat():992 JobTracker should not ignore duplicate messages but acknowledge them without processing. This would cause the task tracker to sync back it's last heartbeat id with the last hearbeat id remembered in the job tracker. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.