Return-Path: X-Original-To: apmail-hadoop-common-dev-archive@www.apache.org Delivered-To: apmail-hadoop-common-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 53F52317D for ; Fri, 6 May 2011 16:32:47 +0000 (UTC) Received: (qmail 40903 invoked by uid 500); 6 May 2011 16:32:45 -0000 Delivered-To: apmail-hadoop-common-dev-archive@hadoop.apache.org Received: (qmail 40667 invoked by uid 500); 6 May 2011 16:32:45 -0000 Mailing-List: contact common-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-dev@hadoop.apache.org Received: (qmail 40253 invoked by uid 99); 6 May 2011 16:32:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 May 2011 16:32:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 May 2011 16:32:42 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 6897FC4413 for ; Fri, 6 May 2011 16:32:03 +0000 (UTC) Date: Fri, 6 May 2011 16:32:03 +0000 (UTC) From: "Greg Wittel (JIRA)" To: common-dev@hadoop.apache.org Message-ID: <1874177439.28475.1304699523425.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (HADOOP-7263) Hadoop Streaming (StreamJob) does not delete temporary job/package jar 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 Hadoop Streaming (StreamJob) does not delete temporary job/package jar ---------------------------------------------------------------------- Key: HADOOP-7263 URL: https://issues.apache.org/jira/browse/HADOOP-7263 Project: Hadoop Common Issue Type: Bug Affects Versions: 0.21.0, 0.20.2, 0.20.3, 0.20.4 Reporter: Greg Wittel Priority: Minor The streaming job driver (org.apache.hadoop.streaming.StreamJob) does not delete the temporary JAR file it generates after a job completes. Without the fix, /var/tmp fills up with streaming job jars until they get wiped. The jar name is stored in the class variable 'jar_'. The JAR is generated in 'packageJobJar()' and the name stored in jar_. Fix: run()/submitAndMonitorJob() should clean up the jar_ file when done. Or the JAR could be generatd as a tempfile and cleaned up automatically. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira