Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 322FF200B7E for ; Tue, 2 Aug 2016 04:02:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 30FE3160A6C; Tue, 2 Aug 2016 02:02:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 9EEB1160AA7 for ; Tue, 2 Aug 2016 04:02:21 +0200 (CEST) Received: (qmail 80105 invoked by uid 500); 2 Aug 2016 02:02:20 -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 79902 invoked by uid 99); 2 Aug 2016 02:02:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Aug 2016 02:02:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 940872C0D60 for ; Tue, 2 Aug 2016 02:02:20 +0000 (UTC) Date: Tue, 2 Aug 2016 02:02:20 +0000 (UTC) From: "Prasanth Jayachandran (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-14397) Queries ran after reopening of tez session launches additional sessions MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 02 Aug 2016 02:02:22 -0000 [ https://issues.apache.org/jira/browse/HIVE-14397?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Prasanth Jayachandran updated HIVE-14397: ----------------------------------------- Attachment: HIVE-14397.2.patch Uploaded correct patch > Queries ran after reopening of tez session launches additional sessions > ----------------------------------------------------------------------- > > Key: HIVE-14397 > URL: https://issues.apache.org/jira/browse/HIVE-14397 > Project: Hive > Issue Type: Bug > Components: Tez > Affects Versions: 2.1.0, 2.2.0 > Reporter: Takahiko Saito > Assignee: Prasanth Jayachandran > Priority: Critical > Attachments: HIVE-14397.1.patch, HIVE-14397.2.patch > > > Say we have configured hive.server2.tez.default.queues with 2 queues q1 and q2 with default expiry interval of 5 mins. > After 5 mins of non-usage the sessions corresponding to queues q1 and q2 will be expired. When new set of queries are issue after this expiry, the default sessions backed by q1 and q2 and reopened again. Now when we run more queries the reopened sessions are not used instead new session is opened. > At this point there will be 4 sessions running (2 abandoned sessions and 2 current sessions). -- This message was sent by Atlassian JIRA (v6.3.4#6332)