Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 58374C4B6 for ; Tue, 16 Jul 2013 15:06:52 +0000 (UTC) Received: (qmail 40722 invoked by uid 500); 16 Jul 2013 15:06:51 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 40688 invoked by uid 500); 16 Jul 2013 15:06:50 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 40557 invoked by uid 99); 16 Jul 2013 15:06:49 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Jul 2013 15:06:49 +0000 Date: Tue, 16 Jul 2013 15:06:49 +0000 (UTC) From: "Alejandro Abdelnur (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-9737) JarFinder#getJar should delete the jar file upon destruction of the JVM MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-9737?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13709836#comment-13709836 ] Alejandro Abdelnur commented on HADOOP-9737: -------------------------------------------- agree with Harsh, no need for a config. Also, keep in mind JarFinder is a Hadoop test artifact, not part of Hadoop public API. > JarFinder#getJar should delete the jar file upon destruction of the JVM > ----------------------------------------------------------------------- > > Key: HADOOP-9737 > URL: https://issues.apache.org/jira/browse/HADOOP-9737 > Project: Hadoop Common > Issue Type: Bug > Components: util > Affects Versions: 2.0.0-alpha > Reporter: Esteban Gutierrez > > Once {{JarFinder.getJar()}} is invoked by a client app, it would be really useful to destroy the generated JAR after the JVM is destroyed by setting {{tempJar.deleteOnExit()}}. In order to preserve backwards compatibility a configuration setting could be implemented, e.g. {{test.build.dir.purge.on.exit}} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira