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 A0CAE200B6D for ; Fri, 15 Jul 2016 15:26:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 9F4F2160A61; Fri, 15 Jul 2016 13:26: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 073EC160A79 for ; Fri, 15 Jul 2016 15:26:21 +0200 (CEST) Received: (qmail 68520 invoked by uid 500); 15 Jul 2016 13:26:21 -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 68291 invoked by uid 99); 15 Jul 2016 13:26:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Jul 2016 13:26:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id C6CAB2C036E for ; Fri, 15 Jul 2016 13:26:20 +0000 (UTC) Date: Fri, 15 Jul 2016 13:26:20 +0000 (UTC) From: "Aihua Xu (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-14239) Change OperationManager to serve each session and make it threadsafe MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 15 Jul 2016 13:26:22 -0000 [ https://issues.apache.org/jira/browse/HIVE-14239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aihua Xu updated HIVE-14239: ---------------------------- Attachment: (was: HIVE-14239.1.patch) > Change OperationManager to serve each session and make it threadsafe > -------------------------------------------------------------------- > > Key: HIVE-14239 > URL: https://issues.apache.org/jira/browse/HIVE-14239 > Project: Hive > Issue Type: Sub-task > Components: HiveServer2 > Affects Versions: 2.0.1 > Reporter: Aihua Xu > Assignee: Aihua Xu > Attachments: HIVE-14239.1.patch > > > Currently OperationManager is designed to hold all the operations from all the sessions. It will cause the functions to unnecessarily sync between the operations across the sessions. And also there are some functions are not threadsafe which could be the cause for invalid OperationHandle. > Plan to change OperationManager to just serve one session and make it a helper class for HiveSession rather than a service which doesn't seem to be needed. -- This message was sent by Atlassian JIRA (v6.3.4#6332)