Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
0.13.1, 0.14.0
-
None
-
None
Description
FunctionRegistry.mFunctions is static. That means that in HS2 case, all users will share the same UDF class object from mFunctions ,which lead to share the same classloader that load this class.
First,this will make the per-session classloader useless.Because only the first classLoader will be used to initailize the instances of the permanent UDF class.
Second, it's will cause class not found exception,when the classLoader created by the first session has been closed before load all the classes that need.
Attachments
Issue Links
- is related to
-
HIVE-6672 JARs loaded by permanent functions don't work properly with HiveServer2
- Resolved
-
HIVE-8218 function registry shared across sessions in HiveServer2
- Resolved
-
HIVE-3969 Session state for hive server should be cleaned-up
- Resolved
-
HIVE-2573 Create per-session function registry
- Closed