You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Madhan Neethiraj (JIRA)" <ji...@apache.org> on 2017/01/04 09:29:58 UTC

[jira] [Updated] (ATLAS-1038) Multiple instances of AtlasPluginClassloader getting initialized

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

Madhan Neethiraj updated ATLAS-1038:
------------------------------------
    Fix Version/s: 0.7.1-incubating

Committed to 0.7-incubating branch: http://git-wip-us.apache.org/repos/asf/incubator-atlas/commit/8e1098f57904ca6a7751fae63fdbcdce27345eb7

> Multiple instances of AtlasPluginClassloader getting initialized
> ----------------------------------------------------------------
>
>                 Key: ATLAS-1038
>                 URL: https://issues.apache.org/jira/browse/ATLAS-1038
>             Project: Atlas
>          Issue Type: Bug
>    Affects Versions: 0.8-incubating
>            Reporter: Suma Shivaprasad
>            Assignee: Suma Shivaprasad
>            Priority: Blocker
>             Fix For: 0.8-incubating, 0.7.1-incubating
>
>         Attachments: ATLAS-1038.patch
>
>
> Current code doesnt not synchronize the instance creation and hence results in multiple instances getting created
> AtlasPluginClassLoader ret =
>                 AccessController.doPrivileged(new PrivilegedExceptionAction<AtlasPluginClassLoader>() {
>                     public AtlasPluginClassLoader run() throws Exception {
>                         return new AtlasPluginClassLoader(pluginType, pluginClass);
>                     }
>                 });
>         return ret;



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)