[
https://issues.apache.org/jira/browse/HIVE-21409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HIVE-21409:
----------------------------------
Labels: pull-request-available (was: )
> Initial SessionState ClassLoader Reused For Subsequent Sessions
> ---------------------------------------------------------------
>
> Key: HIVE-21409
> URL: https://issues.apache.org/jira/browse/HIVE-21409
> Project: Hive
> Issue Type: Bug
> Affects Versions: 1.2.1
> Reporter: Shawn Weeks
> Priority: Minor
> Labels: pull-request-available
> Attachments: create_class.sql, run.sql, setup.sql
>
>
> It appears that the first ClassLoader attached to a SessionState Static
> Instance is being reused as the parent for all future sessions. This causes
> any libraries added to the class path on the initial session to be added to
> future sessions. It also appears that further sessions may be adding jars to
> this initial ClassLoader as well leading to the class path getting more and
> more polluted. This occurring on a build including HIVE-11878. I've included
> some examples that greatly exaggerate the problem.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)