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 CDB8BF0C9 for ; Thu, 30 May 2013 00:58:20 +0000 (UTC) Received: (qmail 88100 invoked by uid 500); 30 May 2013 00:58:20 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 88039 invoked by uid 500); 30 May 2013 00:58:20 -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 88029 invoked by uid 500); 30 May 2013 00:58:20 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 88022 invoked by uid 99); 30 May 2013 00:58:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 May 2013 00:58:20 +0000 Date: Thu, 30 May 2013 00:58:20 +0000 (UTC) From: "Shreepadma Venugopalan (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Work started] (HIVE-4628) HS2 sessionmanager should synchronize the call to insert/remove session objects from session hash map 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-4628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on HIVE-4628 started by Shreepadma Venugopalan. > HS2 sessionmanager should synchronize the call to insert/remove session objects from session hash map > ----------------------------------------------------------------------------------------------------- > > Key: HIVE-4628 > URL: https://issues.apache.org/jira/browse/HIVE-4628 > Project: Hive > Issue Type: Bug > Components: HiveServer2 > Affects Versions: 0.11.0 > Reporter: Shreepadma Venugopalan > Assignee: Shreepadma Venugopalan > Priority: Critical > > HS2 SessionManager maintains a hashmap of active HS2 sessions. However, insert and deletes to this hashmap is not synchronized. A consequence of this is a racing thread could overwrite a valid session object in the hashmap and we could end up losing a session! -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira