[jira] Created: (NUTCH-589) Hierarchical Classloaders

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (NUTCH-589) Hierarchical Classloaders

JIRA jira@apache.org
Hierarchical Classloaders
-------------------------

                 Key: NUTCH-589
                 URL: https://issues.apache.org/jira/browse/NUTCH-589
             Project: Nutch
          Issue Type: Improvement
    Affects Versions: 0.9.0
            Reporter: Ryan Levering
            Priority: Minor


Currently the Nutch plugin classloader flattens all the jars from a plugins' dependencies and instantiates a new classloader for each plugin.  I think it would be better to create a hierarchical classloader chain.  Currently plugins can't pass objects from a common plugin to one another because the objects are created using different classloaders.  Nutch currently avoids this by only using interfaces from a common classloader to pass objects between plugins, but I can't see the harm in improving the plugin classloader.  It would require a change to PluginDescription and PluginClassLoader in order to override ClassLoader to maintain the export filter functionality that currently exists.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.