You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Ashutosh Mestry (JIRA)" <ji...@apache.org> on 2019/03/25 04:54:00 UTC

[jira] [Updated] (ATLAS-3092) Atlas Plugin ClassLoader Doesn't Restore Thread ClassLoader

     [ https://issues.apache.org/jira/browse/ATLAS-3092?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ashutosh Mestry updated ATLAS-3092:
-----------------------------------
    Attachment: ALAS-3092-AtlasPluginClassLoader-for-UDF.patch

> Atlas Plugin ClassLoader Doesn't Restore Thread ClassLoader
> -----------------------------------------------------------
>
>                 Key: ATLAS-3092
>                 URL: https://issues.apache.org/jira/browse/ATLAS-3092
>             Project: Atlas
>          Issue Type: Bug
>            Reporter: Shawn Weeks
>            Priority: Minor
>         Attachments: ALAS-3092-AtlasPluginClassLoader-for-UDF.patch
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Currently when the AtlasPluginClassLoader is deactivated it sets the current threads class loader to class loader that was active when the class was instantiated. In applications like Hive where a single thread may be shared among multiple sessions each with its own class loader this is breaking class loading for UDFs. The deactivate method should set the current threads class loader back to the class loader that was set when activate was called.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)