Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 63721 invoked from network); 26 Mar 2009 06:24:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 26 Mar 2009 06:24:17 -0000 Received: (qmail 51037 invoked by uid 500); 26 Mar 2009 06:24:16 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 50972 invoked by uid 500); 26 Mar 2009 06:24:16 -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 50837 invoked by uid 99); 26 Mar 2009 06:24:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Mar 2009 06:24:16 +0000 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, 26 Mar 2009 06:24:14 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 2EBE8234C04C for ; Wed, 25 Mar 2009 23:23:53 -0700 (PDT) Message-ID: <1891932134.1238048633190.JavaMail.jira@brutus> Date: Wed, 25 Mar 2009 23:23:53 -0700 (PDT) From: "Ravi Gummadi (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-4374) JVM should not be killed but given an opportunity to exit gracefully In-Reply-To: <1486054586.1223468504316.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-4374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ravi Gummadi updated HADOOP-4374: --------------------------------- Release Note: This patch (1) Adds a shutdownHook that does syncLogs sothat logs of the current task are flushed and log.index is up to date in cases like System.exit(), or killed using signals(other than SIGKILL). (2) Changes writeToIndexFile() to write to a temporary index file first and then rename to log.index sothat updates to log.index file are atomic. Status: Patch Available (was: Open) Marking this as Patch Available sothat hudson will run tests. > JVM should not be killed but given an opportunity to exit gracefully > -------------------------------------------------------------------- > > Key: HADOOP-4374 > URL: https://issues.apache.org/jira/browse/HADOOP-4374 > Project: Hadoop Core > Issue Type: Bug > Components: mapred > Affects Versions: 0.19.0 > Reporter: Devaraj Das > Assignee: Ravi Gummadi > Fix For: 0.20.0 > > Attachments: HADOOP-4374.patch, HADOOP-4374.v1.1.patch, HADOOP-4374.v1.patch > > > When the tasktracker picks an idle JVM for purging, it should signal the JVM to exit gracefully, rather than forcefully killing it. This might have the unfortunate side effect of logs not fully flushed yet in some cases. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.