hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Dere (JIRA)" <>
Subject [jira] [Commented] (HIVE-2573) Create per-session function registry
Date Thu, 02 Oct 2014 19:35:33 GMT


Jason Dere commented on HIVE-2573:

Agreed that it makes sense to get rid of the native/non-permanent functions.
I could see a case for the permanent (metastore) UDFs being added to the session function
registry, just because it would keep the system registry clean with just built-in functions.
Also even if the permanent UDF is in the system registry, Session's classloader may not have
loaded the Jars necessary for the UDF, if it was a different thread which added the UDF to
the system registry.  Although I guess HIVE-6672 should take care of that issue. Anyway it
looks like the permanent UDFs will work ok either as native/permanent or session/permanent
so either way should do.

> Create per-session function registry 
> -------------------------------------
>                 Key: HIVE-2573
>                 URL:
>             Project: Hive
>          Issue Type: Improvement
>          Components: Server Infrastructure
>            Reporter: Navis
>            Assignee: Navis
>            Priority: Minor
>         Attachments: ASF.LICENSE.NOT.GRANTED--HIVE-2573.D3231.1.patch, HIVE-2573.1.patch.txt,
HIVE-2573.2.patch.txt, HIVE-2573.3.patch.txt, HIVE-2573.4.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

View raw message