Return-Path: X-Original-To: apmail-hive-issues-archive@minotaur.apache.org Delivered-To: apmail-hive-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 DA24A184C6 for ; Thu, 22 Oct 2015 20:13:27 +0000 (UTC) Received: (qmail 13958 invoked by uid 500); 22 Oct 2015 20:13:27 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 13934 invoked by uid 500); 22 Oct 2015 20:13:27 -0000 Mailing-List: contact issues-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 issues@hive.apache.org Received: (qmail 13908 invoked by uid 99); 22 Oct 2015 20:13:27 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Oct 2015 20:13:27 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id AB24C2C0451 for ; Thu, 22 Oct 2015 20:13:27 +0000 (UTC) Date: Thu, 22 Oct 2015 20:13:27 +0000 (UTC) From: "Chaoyu Tang (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-12187) Release plan once a query is executed 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-12187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14969812#comment-14969812 ] Chaoyu Tang commented on HIVE-12187: ------------------------------------ [~jxiang] The patch looks good to me, except I am not quite sure about saving the locks in close() method. Do you know under what circumstance that there are some locks left from last query and should be preserved? Thanks > Release plan once a query is executed > -------------------------------------- > > Key: HIVE-12187 > URL: https://issues.apache.org/jira/browse/HIVE-12187 > Project: Hive > Issue Type: Improvement > Reporter: Jimmy Xiang > Assignee: Jimmy Xiang > Fix For: 1.3.0, 2.0.0 > > Attachments: HIVE-12187.1.patch, HIVE-12187.2.patch > > > Some clients leave query operations open for a while so that they can retrieve the query results later. That means the allocated memory will be kept around too. We should release those resources not needed for query execution any more once it is executed. -- This message was sent by Atlassian JIRA (v6.3.4#6332)