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 D075C1828D for ; Wed, 1 Jul 2015 03:00:06 +0000 (UTC) Received: (qmail 50161 invoked by uid 500); 1 Jul 2015 03:00:06 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 50059 invoked by uid 500); 1 Jul 2015 03:00:06 -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 49838 invoked by uid 99); 1 Jul 2015 03:00:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jul 2015 03:00:05 +0000 Date: Wed, 1 Jul 2015 03:00:05 +0000 (UTC) From: "Chaoyu Tang (JIRA)" To: dev@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HIVE-11157) Hive.get(HiveConf) returns same Hive object to different user sessions MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Chaoyu Tang created HIVE-11157: ---------------------------------- Summary: Hive.get(HiveConf) returns same Hive object to different user sessions Key: HIVE-11157 URL: https://issues.apache.org/jira/browse/HIVE-11157 Project: Hive Issue Type: Bug Components: Hive Affects Versions: 1.3.0, 2.0.0 Reporter: Chaoyu Tang Assignee: Chaoyu Tang Current Hive.get(HiveConf) creates and returns a new Hive object when the ThreadLocal Hive is null or HMS config is not compatible, but does not do that when it is called in a thread which has been switched to execute a session with a different userId. It will cause the impersonation issue to HMS. It is related to HIVE-7890. -- This message was sent by Atlassian JIRA (v6.3.4#6332)