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 B9FAE1933F for ; Mon, 25 Apr 2016 21:45:13 +0000 (UTC) Received: (qmail 85261 invoked by uid 500); 25 Apr 2016 21:45:13 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 85203 invoked by uid 500); 25 Apr 2016 21:45:13 -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 85166 invoked by uid 99); 25 Apr 2016 21:45:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Apr 2016 21:45:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 076B52C1F62 for ; Mon, 25 Apr 2016 21:45:13 +0000 (UTC) Date: Mon, 25 Apr 2016 21:45:13 +0000 (UTC) From: "Sergey Shelukhin (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-2573) Create per-session function registry 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-2573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15257105#comment-15257105 ] Sergey Shelukhin commented on HIVE-2573: ---------------------------------------- This patch breaks some scenarios for multi-HS2 deployments, due to the code that talks to metastore being removed from getFunctionNames(). [~navis] is there a reason why this code had to be removed? I filed HIVE-13596 before I knew this patch existed (I was assuming the scenario in HIVE-13596 never worked); restoring the metastore-calling code, possibly with a config flag, could be one way to fix the issue described there. Ideally, the metastore call should only happen if the UDF is not found locally; that can be the next step, for now we can just fix the issue by restoring the old behavior. > Create per-session function registry > ------------------------------------- > > Key: HIVE-2573 > URL: https://issues.apache.org/jira/browse/HIVE-2573 > Project: Hive > Issue Type: Improvement > Components: Server Infrastructure > Reporter: Navis > Assignee: Navis > Priority: Minor > Labels: TODOC1.2 > Fix For: 1.2.0 > > Attachments: ASF.LICENSE.NOT.GRANTED--HIVE-2573.D3231.1.patch, HIVE-2573.1.patch.txt, HIVE-2573.10.patch.txt, HIVE-2573.11.patch.txt, HIVE-2573.12.patch.txt, HIVE-2573.13.patch.txt, HIVE-2573.14.patch.txt, HIVE-2573.15.patch.txt, HIVE-2573.2.patch.txt, HIVE-2573.3.patch.txt, HIVE-2573.4.patch.txt, HIVE-2573.5.patch, HIVE-2573.6.patch, HIVE-2573.7.patch, HIVE-2573.8.patch.txt, HIVE-2573.9.patch.txt > > > Currently the function registry is shared resource and could be overrided by other users when using HiveServer. If per-session function registry is provided, this situation could be prevented. -- This message was sent by Atlassian JIRA (v6.3.4#6332)