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 09ED87F6B for ; Wed, 14 Sep 2011 23:46:35 +0000 (UTC) Received: (qmail 88554 invoked by uid 500); 14 Sep 2011 23:46:34 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 88484 invoked by uid 500); 14 Sep 2011 23:46:34 -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 88379 invoked by uid 500); 14 Sep 2011 23:46:34 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 88342 invoked by uid 99); 14 Sep 2011 23:46:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Sep 2011 23:46:33 +0000 X-ASF-Spam-Status: No, hits=-2000.5 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, 14 Sep 2011 23:46:29 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 493BA99877 for ; Wed, 14 Sep 2011 23:46:09 +0000 (UTC) Date: Wed, 14 Sep 2011 23:46:09 +0000 (UTC) From: "Hudson (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: <1579760575.29007.1316043969296.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1837824899.38756.1306230467354.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HIVE-2181) Clean up the scratch.dir (tmp/hive-root) while restarting Hive server. 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/HIVE-2181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13105007#comment-13105007 ] Hudson commented on HIVE-2181: ------------------------------ Integrated in Hive-trunk-h0.21 #954 (See [https://builds.apache.org/job/Hive-trunk-h0.21/954/]) HIVE-2181. Avoid null pointer exception when executing UDF (Chinna Rao Lalam via jvs) jvs : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1170721 Files : * /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFBridge.java * /hive/trunk/ql/src/test/queries/clientnegative/udfnull.q * /hive/trunk/ql/src/test/results/clientnegative/udfnull.q.out * /hive/trunk/ql/src/test/results/compiler/plan/cast1.q.xml * /hive/trunk/ql/src/test/results/compiler/plan/groupby1.q.xml * /hive/trunk/ql/src/test/results/compiler/plan/groupby2.q.xml * /hive/trunk/ql/src/test/results/compiler/plan/groupby3.q.xml * /hive/trunk/ql/src/test/results/compiler/plan/groupby4.q.xml * /hive/trunk/ql/src/test/results/compiler/plan/groupby5.q.xml * /hive/trunk/ql/src/test/results/compiler/plan/groupby6.q.xml * /hive/trunk/ql/src/test/results/compiler/plan/input20.q.xml * /hive/trunk/ql/src/test/results/compiler/plan/input8.q.xml * /hive/trunk/ql/src/test/results/compiler/plan/join2.q.xml * /hive/trunk/ql/src/test/results/compiler/plan/sample1.q.xml * /hive/trunk/ql/src/test/results/compiler/plan/sample2.q.xml * /hive/trunk/ql/src/test/results/compiler/plan/sample3.q.xml * /hive/trunk/ql/src/test/results/compiler/plan/sample4.q.xml * /hive/trunk/ql/src/test/results/compiler/plan/sample5.q.xml * /hive/trunk/ql/src/test/results/compiler/plan/sample6.q.xml * /hive/trunk/ql/src/test/results/compiler/plan/sample7.q.xml * /hive/trunk/ql/src/test/results/compiler/plan/udf1.q.xml * /hive/trunk/ql/src/test/results/compiler/plan/udf4.q.xml * /hive/trunk/ql/src/test/results/compiler/plan/udf6.q.xml > Clean up the scratch.dir (tmp/hive-root) while restarting Hive server. > ------------------------------------------------------------------------ > > Key: HIVE-2181 > URL: https://issues.apache.org/jira/browse/HIVE-2181 > Project: Hive > Issue Type: Bug > Components: Server Infrastructure > Affects Versions: 0.8.0 > Environment: Suse linux, Hadoop 20.1, Hive 0.8 > Reporter: sanoj mathew > Assignee: Chinna Rao Lalam > Priority: Minor > Attachments: HIVE-2181.1.patch, HIVE-2181.2.patch, HIVE-2181.patch > > Original Estimate: 48h > Remaining Estimate: 48h > > Now queries leaves the map outputs under scratch.dir after execution. If the hive server is stopped we need not keep the stopped server's map oputputs. So whle starting the server we can clear the scratch.dir. This can help in improved disk usage. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira