Return-Path: Delivered-To: apmail-hadoop-hive-dev-archive@minotaur.apache.org Received: (qmail 64769 invoked from network); 6 Jun 2009 04:45:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Jun 2009 04:45:20 -0000 Received: (qmail 37230 invoked by uid 500); 6 Jun 2009 04:45:32 -0000 Delivered-To: apmail-hadoop-hive-dev-archive@hadoop.apache.org Received: (qmail 37157 invoked by uid 500); 6 Jun 2009 04:45:32 -0000 Mailing-List: contact hive-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hive-dev@hadoop.apache.org Delivered-To: mailing list hive-dev@hadoop.apache.org Received: (qmail 37147 invoked by uid 99); 6 Jun 2009 04:45:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Jun 2009 04:45:31 +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; Sat, 06 Jun 2009 04:45:28 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 85234234C004 for ; Fri, 5 Jun 2009 21:45:07 -0700 (PDT) Message-ID: <2024495468.1244263507531.JavaMail.jira@brutus> Date: Fri, 5 Jun 2009 21:45:07 -0700 (PDT) From: "Joydeep Sen Sarma (JIRA)" To: hive-dev@hadoop.apache.org Subject: [jira] Commented: (HIVE-546) Script operator does not kill any spawned sub tasks in case of failures In-Reply-To: <1120069390.1244251807742.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/HIVE-546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12716826#action_12716826 ] Joydeep Sen Sarma commented on HIVE-546: ---------------------------------------- i think the right way to do this is to have the jvm for the task be a process leader so anything it spawns is killed when the task is gone. there may already be some progress on recent hadoop versions on this. > Script operator does not kill any spawned sub tasks in case of failures > ----------------------------------------------------------------------- > > Key: HIVE-546 > URL: https://issues.apache.org/jira/browse/HIVE-546 > Project: Hadoop Hive > Issue Type: Bug > Components: Query Processor > Affects Versions: 0.3.0 > Reporter: Ashish Thusoo > Assignee: Ashish Thusoo > > The script operator spawns a script in a separate process. However, this process may not get cleaned up if the top level hadoop job is killed. We need to add child process cleanup code to the jvm shutdown hook in Hive. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.