You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Sebastian Nagel (JIRA)" <ji...@apache.org> on 2018/06/21 09:57:00 UTC

[jira] [Created] (NUTCH-2608) Reduce size of Nutch job file and package

Sebastian Nagel created NUTCH-2608:
--------------------------------------

             Summary: Reduce size of Nutch job file and package
                 Key: NUTCH-2608
                 URL: https://issues.apache.org/jira/browse/NUTCH-2608
             Project: Nutch
          Issue Type: Improvement
          Components: deployment
    Affects Versions: 1.15
            Reporter: Sebastian Nagel


The Nutch 1.15 binary package and the Nutch job file will reach or even exceed 300 MB. A huge job file isn't ideal as it needs to be distributed in the Hadoop cluster. There are several reasons for this:

- missing exclusion of unneeded indirect dependencies, e.g.:
-* indexer-elastic includes many Lucene libraries related to query processing
- huge plugins. That can be hardly avoided as these plugins provide also "huge" functionality, e.g., parse-tika is able to pass a long list of document formats. However, it should be possible to avoid overlaps between plugins (in case dependency upgrades can be made at the same time). Hot candidates are:
-* any23 includes tika-parsers as does parse-tika
-* lib-selenium and lib-htmlunit both use selenium and phantomjsdriver libs

Of course, users can easily build smaller packages by excluding unused plugins in {{src/plugin/build.xml}}. But would be good, at least, to try to reduce the size of the Nutch package.




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)