accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Marion (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-869) Determine best default classloader hierarchy
Date Thu, 29 Nov 2012 23:39:58 GMT

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

Dave Marion commented on ACCUMULO-869:
--------------------------------------

I think we should add a new property, something like classloader.vfs.context.classpath.isolation,
which will default to false. In the default state, the user defined context classloaders will
be a child of the system context classloader. If set to true, then the user defined context
classloader will be a sibling of the system context classloader.
                
> Determine best default classloader hierarchy 
> ---------------------------------------------
>
>                 Key: ACCUMULO-869
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-869
>             Project: Accumulo
>          Issue Type: Sub-task
>          Components: start
>            Reporter: Keith Turner
>             Fix For: 1.5.0
>
>
> A user created context classloader in the current patch does not have the system context
as it parent.  If the system context contained Accumulo jars, then the user context would
have to add its own Accumulo jars.  The drawback of this is that the user context may use
a different version of accumulo jars than the system context leading to unexpected behavior.
  The advantage of this is that user context could load newer jars.  For example, if Accumulo
depended on an old json library the user context could load a newer version with no problems.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message