nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doğacan Güney (JIRA) <>
Subject [jira] Updated: (NUTCH-702) Lazy Instanciation of Metadata in CrawlDatum
Date Sun, 07 Jun 2009 17:34:07 GMT


Doğacan Güney updated NUTCH-702:

    Attachment: NUTCH-702v3.patch

Reattaching Julien's last patch. I have made some minor code cleanups.

Could anyone confirm if that NPE is gone? (and my cleanup did not break anything ? :)

> Lazy Instanciation of Metadata in CrawlDatum
> --------------------------------------------
>                 Key: NUTCH-702
>                 URL:
>             Project: Nutch
>          Issue Type: Improvement
>    Affects Versions: 1.0.0
>            Reporter: Julien Nioche
>         Attachments: NUTCH-702.patch, NUTCH-702.patch.v2, NUTCH-702v3.patch
> CrawlDatum systematically instanciates its metadata, which is quite wasteful especially
in the case of CrawlDBReducer when it generates a new CrawlDatum for each incoming link before
storing it in a List.
> Initial testing on the lazy instanciation shows an improvement in both speed and memory
consumption. I will generate a patch for it ASAP

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

View raw message