Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-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 628079911 for ; Wed, 30 Nov 2011 14:22:03 +0000 (UTC) Received: (qmail 45836 invoked by uid 500); 30 Nov 2011 14:22:03 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 45798 invoked by uid 500); 30 Nov 2011 14:22:03 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 45790 invoked by uid 500); 30 Nov 2011 14:22:03 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 45786 invoked by uid 99); 30 Nov 2011 14:22:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Nov 2011 14:22:03 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,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; Wed, 30 Nov 2011 14:22:00 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id D70CAA9403 for ; Wed, 30 Nov 2011 14:21:39 +0000 (UTC) Date: Wed, 30 Nov 2011 14:21:39 +0000 (UTC) From: "Priyadarshini (Commented) (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: <1843950308.26199.1322662899882.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1919735354.735.1314750789810.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HIVE-2422) remove the intermediate dir when the hive query finish 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-2422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13160067#comment-13160067 ] Priyadarshini commented on HIVE-2422: ------------------------------------- I have executed this query. select a.rollNo,b.rollNo from student a join student b on a.rollNo=b.rollNo group by a.rollNo,b.rollNo; The above query has spawned 2 MR jobs. After the execution of the query, org.apache.hadoop.hive.ql.Context.clear() method is deleting the ScratchDir of the query. > remove the intermediate dir when the hive query finish > ------------------------------------------------------- > > Key: HIVE-2422 > URL: https://issues.apache.org/jira/browse/HIVE-2422 > Project: Hive > Issue Type: Bug > Reporter: He Yongqiang > Assignee: He Yongqiang > > right now if one hive query got compiled to 2 mr jobs, and the first job's output feed the second job. When the query finish, the first job's output should be removed. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira