atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Madhan Neethiraj (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ATLAS-1038) Multiple instances of AtlasPluginClassloader getting initialized
Date Thu, 21 Jul 2016 00:07:20 GMT

    [ https://issues.apache.org/jira/browse/ATLAS-1038?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15386866#comment-15386866
] 

Madhan Neethiraj commented on ATLAS-1038:
-----------------------------------------

+1. Fix looks good.

> 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
>             Fix For: 0.8-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)

Mime
View raw message