Return-Path: Delivered-To: apmail-hive-user-archive@www.apache.org Received: (qmail 18218 invoked from network); 15 Oct 2010 02:26:34 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 15 Oct 2010 02:26:34 -0000 Received: (qmail 80767 invoked by uid 500); 15 Oct 2010 02:26:33 -0000 Delivered-To: apmail-hive-user-archive@hive.apache.org Received: (qmail 80654 invoked by uid 500); 15 Oct 2010 02:26:33 -0000 Mailing-List: contact user-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hive.apache.org Delivered-To: mailing list user@hive.apache.org Received: (qmail 80645 invoked by uid 500); 15 Oct 2010 02:26:32 -0000 Delivered-To: apmail-hadoop-hive-user@hadoop.apache.org Received: (qmail 80642 invoked by uid 99); 15 Oct 2010 02:26:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Oct 2010 02:26:32 +0000 X-ASF-Spam-Status: No, hits=4.4 required=10.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of liulei412@gmail.com designates 209.85.213.48 as permitted sender) Received: from [209.85.213.48] (HELO mail-yw0-f48.google.com) (209.85.213.48) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Oct 2010 02:26:26 +0000 Received: by ywi4 with SMTP id 4so181172ywi.35 for ; Thu, 14 Oct 2010 19:26:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=7kgbOF7LCBWVj8Quda1QsfTAq2ja1jATfObXebGCGRk=; b=pk8bykdpO3msTe9E6VYeaazXEC6G6qNMip6fuFl3ksmEx8pM8kbtKVd7hGRbTLJEM4 wqBlUQQ/fcrSBnBHkhqGc+IQqyelwo08cWuRj04ikOTxwxFRaC73RvDc8iE55uakEcm8 5TjGJTuJV33bcV9X/jDDOqxomHu/vckh23tC0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=mvhYqwJjiZ2z6PB1WDOJgkGHh4rjA2CLZ0DM0wCyFhyR7t3wyM7DmkCq1K6/R6G2jK 9KYy7Y5el7ucYahpwBglgVktNqU9fmkWkdLsATq2RCqFUfLKdxEj19AGHwclwGjWOlxA F2XThVDFV6P7wAYGNy0oHiBP2ftqhOJtIdikA= MIME-Version: 1.0 Received: by 10.151.25.5 with SMTP id c5mr553778ybj.339.1287109566004; Thu, 14 Oct 2010 19:26:06 -0700 (PDT) Received: by 10.151.156.3 with HTTP; Thu, 14 Oct 2010 19:26:05 -0700 (PDT) Date: Fri, 15 Oct 2010 10:26:05 +0800 Message-ID: Subject: When I close the connection, hive don't clean hive.exec.scratchdir directory From: lei liu To: hive-user@hadoop.apache.org Content-Type: multipart/alternative; boundary=000e0cd2489a77fd4804929e8ce2 --000e0cd2489a77fd4804929e8ce2 Content-Type: text/plain; charset=ISO-8859-1 I use JDBC to connection hive server, I find when I close connection, hive don't clean hive.exec.scratchdir directory, so after hive run long time, the hive.exec.scratchdir directory include a lot of files. Now we use timer to clean the directory, but I think hive should add one plugin for closing connection, so that we can do some cleaning working, when the connection is closed. --000e0cd2489a77fd4804929e8ce2 Content-Type: text/html; charset=ISO-8859-1 I use JDBC to connection hive server, I find when I close connection, hive don't clean hive.exec.scratchdir directory, so after hive run long time, the hive.exec.scratchdir directory include a lot of files.


Now we use timer to clean the directory, but I think hive should add one plugin for closing connection, so that we can do some cleaning working, when the connection is closed.
--000e0cd2489a77fd4804929e8ce2--