[jira] [Resolved] (NUTCH-2317) Plugin jars don't get added to classpath while running in local

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

[jira] [Resolved] (NUTCH-2317) Plugin jars don't get added to classpath while running in local

JIRA jira@apache.org

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

Sebastian Nagel resolved NUTCH-2317.
------------------------------------
    Resolution: Not A Problem

Hi [~lewismc], hi [~sujenshah]! Closing this (and the linked pull-request):
- with the child-first classloader (NUTCH-2378) the plugin system avoids dependency conflicts (e.g., NUTCH-2316). Adding all plugin jars to a global classpath would break this encapsulation
- the change would only affect local mode. In deploy mode the job file is (but not distributed mode where jars are loaded from the job file).

> Plugin jars don't get added to classpath while running in local
> ---------------------------------------------------------------
>
>                 Key: NUTCH-2317
>                 URL: https://issues.apache.org/jira/browse/NUTCH-2317
>             Project: Nutch
>          Issue Type: Bug
>          Components: plugin
>            Reporter: Sujen Shah
>             Fix For: 1.14
>
>
> Currently, plugin dependencies listed in the plugin's ivy.xml don't get added to the classpath while running nutch in local mode.
> Looking into the /bin/nutch code for adding jars to classpath these lines (https://github.com/apache/nutch/blob/master/src/bin/nutch#L161-L163) show an error in syntax. The PR tries to address this issue.
> Link to mail thread on dev list regarding this issue - http://www.mail-archive.com/dev@.../msg22094.html



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)